mun-lang / mun

Source code for the Mun language and runtime.
https://mun-lang.org
Other
1.83k stars 73 forks source link

"while"'s "break" could return value #446

Open funny-falcon opened 2 years ago

funny-falcon commented 2 years ago

There is solution to "a break in a while loop cannot return a value" inspired by Python:

baszalmstra commented 2 years ago

Thats an interesting idea! Would you be able to create a PR?