42 lines
No EOL
952 B
Text
42 lines
No EOL
952 B
Text
tests/cases/compiler/sourceMapValidationFor.ts(2,5): error TS2304: Cannot find name 'WScript'.
|
|
tests/cases/compiler/sourceMapValidationFor.ts(6,5): error TS2304: Cannot find name 'WScript'.
|
|
|
|
|
|
==== tests/cases/compiler/sourceMapValidationFor.ts (2 errors) ====
|
|
for (var i = 0; i < 10; i++) {
|
|
WScript.Echo("i: " + i);
|
|
~~~~~~~
|
|
!!! error TS2304: Cannot find name 'WScript'.
|
|
}
|
|
for (i = 0; i < 10; i++)
|
|
{
|
|
WScript.Echo("i: " + i);
|
|
~~~~~~~
|
|
!!! error TS2304: Cannot find name 'WScript'.
|
|
}
|
|
for (var j = 0; j < 10; ) {
|
|
j++;
|
|
if (j == 1) {
|
|
continue;
|
|
}
|
|
}
|
|
for (j = 0; j < 10;)
|
|
{
|
|
j++;
|
|
}
|
|
for (var k = 0;; k++) {
|
|
}
|
|
for (k = 0;; k++)
|
|
{
|
|
}
|
|
for (; k < 10; k++) {
|
|
}
|
|
for (;;) {
|
|
i++;
|
|
}
|
|
for (;;)
|
|
{
|
|
i++;
|
|
}
|
|
for (i = 0, j = 20; j < 20, i < 20; j++) {
|
|
} |