18 lines
642 B
Plaintext
18 lines
642 B
Plaintext
=== tests/cases/compiler/nameCollisionWithBlockScopedVariable1.ts ===
|
|
module M {
|
|
>M : Symbol(M, Decl(nameCollisionWithBlockScopedVariable1.ts, 0, 0), Decl(nameCollisionWithBlockScopedVariable1.ts, 2, 1))
|
|
|
|
export class C { }
|
|
>C : Symbol(C, Decl(nameCollisionWithBlockScopedVariable1.ts, 0, 10))
|
|
}
|
|
module M {
|
|
>M : Symbol(M, Decl(nameCollisionWithBlockScopedVariable1.ts, 0, 0), Decl(nameCollisionWithBlockScopedVariable1.ts, 2, 1))
|
|
{
|
|
let M = 0;
|
|
>M : Symbol(M, Decl(nameCollisionWithBlockScopedVariable1.ts, 5, 11))
|
|
|
|
new C();
|
|
>C : Symbol(C, Decl(nameCollisionWithBlockScopedVariable1.ts, 0, 10))
|
|
}
|
|
}
|