49 lines
2 KiB
Plaintext
49 lines
2 KiB
Plaintext
|
=== tests/cases/compiler/collisionCodeGenModuleWithConstructorChildren.ts ===
|
||
|
module M {
|
||
|
>M : Symbol(M, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 0, 0), Decl(collisionCodeGenModuleWithConstructorChildren.ts, 6, 1), Decl(collisionCodeGenModuleWithConstructorChildren.ts, 13, 1))
|
||
|
|
||
|
export var x = 3;
|
||
|
>x : Symbol(x, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 1, 14))
|
||
|
|
||
|
class c {
|
||
|
>c : Symbol(c, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 1, 21))
|
||
|
|
||
|
constructor(M, p = x) {
|
||
|
>M : Symbol(M, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 3, 20))
|
||
|
>p : Symbol(p, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 3, 22))
|
||
|
>x : Symbol(x, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 1, 14))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module M {
|
||
|
>M : Symbol(M, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 0, 0), Decl(collisionCodeGenModuleWithConstructorChildren.ts, 6, 1), Decl(collisionCodeGenModuleWithConstructorChildren.ts, 13, 1))
|
||
|
|
||
|
class d {
|
||
|
>d : Symbol(d, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 8, 10))
|
||
|
|
||
|
constructor(private M, p = x) {
|
||
|
>M : Symbol(M, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 10, 20))
|
||
|
>p : Symbol(p, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 10, 30))
|
||
|
>x : Symbol(x, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 1, 14))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module M {
|
||
|
>M : Symbol(M, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 0, 0), Decl(collisionCodeGenModuleWithConstructorChildren.ts, 6, 1), Decl(collisionCodeGenModuleWithConstructorChildren.ts, 13, 1))
|
||
|
|
||
|
class d2 {
|
||
|
>d2 : Symbol(d2, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 15, 10))
|
||
|
|
||
|
constructor() {
|
||
|
var M = 10;
|
||
|
>M : Symbol(M, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 18, 15))
|
||
|
|
||
|
var p = x;
|
||
|
>p : Symbol(p, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 19, 15))
|
||
|
>x : Symbol(x, Decl(collisionCodeGenModuleWithConstructorChildren.ts, 1, 14))
|
||
|
}
|
||
|
}
|
||
|
}
|