23 lines
No EOL
521 B
Text
23 lines
No EOL
521 B
Text
==== tests/cases/compiler/sourceMapValidationForIn.ts (4 errors) ====
|
|
for (var x in String) {
|
|
WScript.Echo(x);
|
|
~~~~~~~
|
|
!!! Cannot find name 'WScript'.
|
|
}
|
|
for (x in String) {
|
|
WScript.Echo(x);
|
|
~~~~~~~
|
|
!!! Cannot find name 'WScript'.
|
|
}
|
|
for (var x2 in String)
|
|
{
|
|
WScript.Echo(x2);
|
|
~~~~~~~
|
|
!!! Cannot find name 'WScript'.
|
|
}
|
|
for (x in String)
|
|
{
|
|
WScript.Echo(x);
|
|
~~~~~~~
|
|
!!! Cannot find name 'WScript'.
|
|
} |