11 lines
464 B
Plaintext
11 lines
464 B
Plaintext
=== 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))
|
|
}
|
|
|