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:
|
2015-04-13 21:36:11 +02:00
|
|
|
>ONE : unknown
|
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;
|
2015-04-13 21:36:11 +02:00
|
|
|
>ONE : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
TWO:
|
2015-04-13 21:36:11 +02:00
|
|
|
>TWO : unknown
|
|
|
|
|
2014-08-15 23:33:16 +02:00
|
|
|
THREE:
|
2015-04-13 21:36:11 +02:00
|
|
|
>THREE : unknown
|
|
|
|
|
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;
|
2015-04-13 21:36:11 +02:00
|
|
|
>THREE : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
FOUR:
|
2015-04-13 21:36:11 +02:00
|
|
|
>FOUR : unknown
|
|
|
|
|
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:
|
2015-04-13 21:36:11 +02:00
|
|
|
>FIVE : unknown
|
|
|
|
|
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;
|
2015-04-13 21:36:11 +02:00
|
|
|
>FOUR : unknown
|
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:
|
2015-04-13 21:36:11 +02:00
|
|
|
>SIX : unknown
|
|
|
|
|
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;
|
2015-04-13 21:36:11 +02:00
|
|
|
>SIX : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
SEVEN:
|
2015-04-13 21:36:11 +02:00
|
|
|
>SEVEN : unknown
|
|
|
|
|
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;
|
2015-04-13 21:36:11 +02:00
|
|
|
>SEVEN : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
EIGHT:
|
2015-04-13 21:36:11 +02:00
|
|
|
>EIGHT : unknown
|
|
|
|
|
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
|
|
|
|
>function () { } : () => void
|
|
|
|
|
|
|
|
continue EIGHT;
|
2015-04-13 21:36:11 +02:00
|
|
|
>EIGHT : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
NINE:
|
2015-04-13 21:36:11 +02:00
|
|
|
>NINE : unknown
|
|
|
|
|
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 : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|