2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/sourceMapValidationForIn.ts(2,5): error TS2304: Cannot find name 'WScript'.
|
|
|
|
tests/cases/compiler/sourceMapValidationForIn.ts(5,5): error TS2304: Cannot find name 'WScript'.
|
|
|
|
tests/cases/compiler/sourceMapValidationForIn.ts(9,5): error TS2304: Cannot find name 'WScript'.
|
|
|
|
tests/cases/compiler/sourceMapValidationForIn.ts(13,5): error TS2304: Cannot find name 'WScript'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/sourceMapValidationForIn.ts (4 errors) ====
|
|
|
|
for (var x in String) {
|
|
|
|
WScript.Echo(x);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'WScript'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
for (x in String) {
|
|
|
|
WScript.Echo(x);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'WScript'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
for (var x2 in String)
|
|
|
|
{
|
|
|
|
WScript.Echo(x2);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'WScript'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
for (x in String)
|
|
|
|
{
|
|
|
|
WScript.Echo(x);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'WScript'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|