TypeScript/tests/baselines/reference/constructorStaticParamNameErrors.errors.txt
2014-07-24 13:01:25 -07:00

8 lines
288 B
Plaintext

==== tests/cases/compiler/constructorStaticParamNameErrors.ts (1 errors) ====
'use strict'
// static as constructor parameter name should give error if 'use strict'
class test {
constructor (static) { }
~~~~~~
!!! Identifier expected.
}