TypeScript/tests/baselines/reference/collisionCodeGenModuleWithConstructorChildren.types
2014-08-15 14:37:48 -07:00

49 lines
610 B
Plaintext

=== tests/cases/compiler/collisionCodeGenModuleWithConstructorChildren.ts ===
module M {
>M : typeof M
export var x = 3;
>x : number
class c {
>c : c
constructor(M, p = x) {
>M : any
>p : number
>x : number
}
}
}
module M {
>M : typeof M
class d {
>d : d
constructor(private M, p = x) {
>M : any
>p : number
>x : number
}
}
}
module M {
>M : typeof M
class d2 {
>d2 : d2
constructor() {
var M = 10;
>M : number
var p = x;
>p : number
>x : number
}
}
}