Replies: 3 comments
-
This is a (known) bug/limitation. Memory in regions should never outlive their lexical scope. However, this is currently "allowed" because I believe this very fresh PR #7114 fixes your example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
TLDR: This is just a corner case of our implementation which will be fixed soon. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This program attempts to operate on
s
, which belongs torc
, outsiderc
, and compiles and producesIs this a bug or intended? I think either could be justified, though
shows that there is at the least a contradiction between the implementation and the documentation currently.
Upon search I came across #6142, but I didn't quite understand what's being discussed there.
Beta Was this translation helpful? Give feedback.
All reactions