89 lines
995 B
Text
89 lines
995 B
Text
=== tests/cases/conformance/statements/breakStatements/whileBreakStatements.ts ===
|
|
while(true) {
|
|
>true : boolean
|
|
|
|
break;
|
|
}
|
|
|
|
ONE:
|
|
>ONE : any
|
|
|
|
while (true) {
|
|
>true : boolean
|
|
|
|
break ONE;
|
|
>ONE : any
|
|
}
|
|
|
|
TWO:
|
|
>TWO : any
|
|
|
|
THREE:
|
|
>THREE : any
|
|
|
|
while (true) {
|
|
>true : boolean
|
|
|
|
break THREE;
|
|
>THREE : any
|
|
}
|
|
|
|
FOUR:
|
|
>FOUR : any
|
|
|
|
while (true) {
|
|
>true : boolean
|
|
|
|
FIVE:
|
|
>FIVE : any
|
|
|
|
while (true) {
|
|
>true : boolean
|
|
|
|
break FOUR;
|
|
>FOUR : any
|
|
}
|
|
}
|
|
|
|
while (true) {
|
|
>true : boolean
|
|
|
|
SIX:
|
|
>SIX : any
|
|
|
|
while (true)
|
|
>true : boolean
|
|
|
|
break SIX;
|
|
>SIX : any
|
|
}
|
|
|
|
SEVEN:
|
|
>SEVEN : any
|
|
|
|
while (true)
|
|
>true : boolean
|
|
|
|
while (true)
|
|
>true : boolean
|
|
|
|
while (true)
|
|
>true : boolean
|
|
|
|
break SEVEN;
|
|
>SEVEN : any
|
|
|
|
EIGHT:
|
|
>EIGHT : any
|
|
|
|
while (true) {
|
|
>true : boolean
|
|
|
|
var fn = function () { }
|
|
>fn : () => void
|
|
>function () { } : () => void
|
|
|
|
break EIGHT;
|
|
>EIGHT : any
|
|
}
|
|
|