`Label: repeat {} while` statement

silver
(Dante Broggi) #1

IDE: Visual Studio X/Fire
Version: 10.0.0.2399 (develop)
Target (If relevant): OSX
Description:
Currently, repeat while statements cannot be labeled.
I presume this was simply missed when do while was renamed.

Note: I also posted this in the Silver subforum. If it shouldn’t have been posted there that post may be deleted. The Bug Reports page didn’t specify which subforum.

Expected Behavior:
Compiles.
Actual Behavior:
“E: One of “for”, “while”, “do”, “switch” expected, got “repeat” [<file> (<line>)]”
Steps:

label: repeat { // Error here
 if cond2 { break label }
 // code
} while cond
(RemObjects) #2

Thanks, logged as bugs://82572

(RemObjects) #3

bugs://82572 got closed with status fixed.