10 lines
No EOL
322 B
Text
10 lines
No EOL
322 B
Text
==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode14.ts (3 errors) ====
|
|
"use strict";
|
|
with (a) {
|
|
~~~~
|
|
!!! 'with' statements are not allowed in strict mode.
|
|
~
|
|
!!! All symbols within a 'with' block will be resolved to 'any'.
|
|
~
|
|
!!! Cannot find name 'a'.
|
|
} |