12 lines
No EOL
572 B
Text
12 lines
No EOL
572 B
Text
tests/cases/conformance/parser/ecmascript5/RegressionTests/parser642331_1.ts(4,18): error TS1213: Identifier expected. 'static' is a reserved word in strict mode. Class definitions are automatically in strict mode.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser642331_1.ts (1 errors) ====
|
|
"use strict";
|
|
|
|
class test {
|
|
constructor (static) { }
|
|
~~~~~~
|
|
!!! error TS1213: Identifier expected. 'static' is a reserved word in strict mode. Class definitions are automatically in strict mode.
|
|
}
|
|
|