-
Notifications
You must be signed in to change notification settings - Fork 179
Open
Labels
Milestone
Description
As pointed out in the chat, sometimes the lifetime inferrence will infer that an alive reference is dead. Here’s an example of the bug and a workaround in the test code for URI.
The good news is that this seems to happen pretty rarely, and can be fixed by hoisting an inline reference into a containing let statement. It should still be fixed, of course.
Cheers