9 lines
No EOL
313 B
Text
9 lines
No EOL
313 B
Text
==== tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement1.d.ts (3 errors) ====
|
|
with (foo) {
|
|
~~~~
|
|
!!! Statements are not allowed in ambient contexts.
|
|
~~~
|
|
!!! All symbols within a 'with' block will be resolved to 'any'.
|
|
~~~
|
|
!!! Cannot find name 'foo'.
|
|
} |