TypeScript/tests/baselines/reference/whileContinueStatements.types
2015-04-15 16:44:20 -07:00

111 lines
1.2 KiB
Plaintext

=== tests/cases/conformance/statements/continueStatements/whileContinueStatements.ts ===
while(true) {
>true : boolean
continue;
}
while (true) {
>true : boolean
if (true) {
>true : boolean
continue;
}
}
ONE:
>ONE : any
while (true) {
>true : boolean
continue ONE;
>ONE : any
}
TWO:
>TWO : any
THREE:
>THREE : any
while (true) {
>true : boolean
continue THREE;
>THREE : any
}
FOUR:
>FOUR : any
while (true) {
>true : boolean
FIVE:
>FIVE : any
while (true) {
>true : boolean
continue FOUR;
>FOUR : any
}
}
while (true) {
>true : boolean
SIX:
>SIX : any
while (true)
>true : boolean
continue SIX;
>SIX : any
}
SEVEN:
>SEVEN : any
while (true)
>true : boolean
while (true)
>true : boolean
while (true)
>true : boolean
continue SEVEN;
>SEVEN : any
EIGHT:
>EIGHT : any
while (true) {
>true : boolean
var fn = function () { }
>fn : () => void
>function () { } : () => void
continue EIGHT;
>EIGHT : any
}
NINE:
>NINE : any
while (true) {
>true : boolean
if (true) { continue NINE; }
>true : boolean
>NINE : any
}