10 lines
322 B
Plaintext
10 lines
322 B
Plaintext
==== 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'.
|
|
} |