You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.
lbl:
for(vari=0;i<3;i++){for(varj=0;j<3;j++){if(i+j===3){continue lbl;// control should jump to (1)}print(i+":"+j);}// (1)}// (2)
expected output is bellow.
0:0
0:1
0:2
1:0
1:1
2:0
But output of run.sh is
0:0
0:1
0:2
1:0
1:1
When labeled continue is executed, control should jump to (1).
In desugared code, however, it jumps to (2).
In other words, labeled continue behaves like labeled break.
The text was updated successfully, but these errors were encountered:
When we execute this code,
expected output is bellow.
But output of run.sh is
When labeled continue is executed, control should jump to
(1)
.In desugared code, however, it jumps to
(2)
.In other words, labeled continue behaves like labeled break.
The text was updated successfully, but these errors were encountered: