2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/constructorStaticParamNameErrors.ts(4,18): error TS1003: Identifier expected.
|
|
|
|
|
|
|
|
|
2014-07-23 19:40:39 +02:00
|
|
|
==== tests/cases/compiler/constructorStaticParamNameErrors.ts (1 errors) ====
|
|
|
|
'use strict'
|
|
|
|
// static as constructor parameter name should give error if 'use strict'
|
|
|
|
class test {
|
|
|
|
constructor (static) { }
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1003: Identifier expected.
|
2014-07-23 19:40:39 +02:00
|
|
|
}
|