mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
403 B
Plaintext
12 lines
403 B
Plaintext
//// [tests/cases/compiler/constructorStaticParamNameErrors.ts] ////
|
|
|
|
=== constructorStaticParamNameErrors.ts ===
|
|
'use strict'
|
|
// static as constructor parameter name should give error if 'use strict'
|
|
class test {
|
|
>test : Symbol(test, Decl(constructorStaticParamNameErrors.ts, 0, 12))
|
|
|
|
constructor (static) { }
|
|
>static : Symbol(static, Decl(constructorStaticParamNameErrors.ts, 3, 17))
|
|
}
|