Allow returning from infinite loop #19
Replies: 2 comments 1 reply
-
I'm pretty sure this is in my internal backlog. But let's also keep this issue so it's more visible. I am currently in the big rewrite process so it could take a while before I could get to quality of life features (but I might look into this earlier). For now you can put |
Beta Was this translation helpful? Give feedback.
-
No worries. I don't want to waste your time or anything--I just noticed a few things while playing with LO for a Project Euler problem and thought I would share what I ran across (in a couple of issues and discussion threads, as seemed appropriate). Feel free to ignore, add as TODOs, correct my understanding, etc. as you see fit. If I was in the middle of a rewrite, I would probably just make a note to double-check any of these that seemed important after the rewrite was mostly done. |
Beta Was this translation helpful? Give feedback.
-
If I have a function that's an infinite loop that only exits via a "return", I get a compile error stating that there isn't a "return" at the end of the function. It would be nice to support that to avoid having to capture the return value in a variable, break, and then return the value.
Of course, if that complicates the implementation too much, it seems reasonable to not support this.
Beta Was this translation helpful? Give feedback.
All reactions