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