10 lines
464 B
Text
10 lines
464 B
Text
=== tests/cases/compiler/parameterPropertyReferencingOtherParameter.ts ===
|
|
class Foo {
|
|
>Foo : Symbol(Foo, Decl(parameterPropertyReferencingOtherParameter.ts, 0, 0))
|
|
|
|
constructor(public x: number, public y: number = x) { }
|
|
>x : Symbol(x, Decl(parameterPropertyReferencingOtherParameter.ts, 1, 16))
|
|
>y : Symbol(y, Decl(parameterPropertyReferencingOtherParameter.ts, 1, 33))
|
|
>x : Symbol(x, Decl(parameterPropertyReferencingOtherParameter.ts, 1, 16))
|
|
}
|
|
|