TypeScript/tests/baselines/reference/whileContinueStatements.types

111 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/statements/continueStatements/whileContinueStatements.ts ===
while(true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
continue;
}
while (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
if (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
continue;
}
}
ONE:
>ONE : any
2014-08-15 23:33:16 +02:00
while (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
continue ONE;
>ONE : any
2014-08-15 23:33:16 +02:00
}
TWO:
>TWO : any
2015-04-13 21:36:11 +02:00
2014-08-15 23:33:16 +02:00
THREE:
>THREE : any
2015-04-13 21:36:11 +02:00
2014-08-15 23:33:16 +02:00
while (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
continue THREE;
>THREE : any
2014-08-15 23:33:16 +02:00
}
FOUR:
>FOUR : any
2015-04-13 21:36:11 +02:00
2014-08-15 23:33:16 +02:00
while (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
FIVE:
>FIVE : any
2015-04-13 21:36:11 +02:00
2014-08-15 23:33:16 +02:00
while (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
continue FOUR;
>FOUR : any
2014-08-15 23:33:16 +02:00
}
}
while (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
SIX:
>SIX : any
2015-04-13 21:36:11 +02:00
2014-08-15 23:33:16 +02:00
while (true)
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
continue SIX;
>SIX : any
2014-08-15 23:33:16 +02:00
}
SEVEN:
>SEVEN : any
2015-04-13 21:36:11 +02:00
2014-08-15 23:33:16 +02:00
while (true)
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
while (true)
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
while (true)
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
continue SEVEN;
>SEVEN : any
2014-08-15 23:33:16 +02:00
EIGHT:
>EIGHT : any
2015-04-13 21:36:11 +02:00
2014-08-15 23:33:16 +02:00
while (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
var fn = function () { }
>fn : () => void
2014-08-15 23:33:16 +02:00
>function () { } : () => void
continue EIGHT;
>EIGHT : any
2014-08-15 23:33:16 +02:00
}
NINE:
>NINE : any
2015-04-13 21:36:11 +02:00
2014-08-15 23:33:16 +02:00
while (true) {
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
if (true) { continue NINE; }
2015-04-13 21:36:11 +02:00
>true : boolean
>NINE : any
2014-08-15 23:33:16 +02:00
}