TypeScript/tests/baselines/reference/parserStrictMode14.errors.txt
2014-07-24 13:09:03 -07:00

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'.
}