TypeScript/tests/baselines/reference/declarationEmit_nameConflicts2.types

69 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/declarationEmit_nameConflicts2.ts ===
module X.Y.base {
>X : typeof X
>Y : typeof Y
>base : typeof base
2014-08-15 23:33:16 +02:00
export function f() { }
>f : () => void
2014-08-15 23:33:16 +02:00
export class C { }
>C : C
2014-08-15 23:33:16 +02:00
export module M {
>M : typeof M
2014-08-15 23:33:16 +02:00
export var v;
>v : any
2014-08-15 23:33:16 +02:00
}
export enum E { }
>E : E
2014-08-15 23:33:16 +02:00
}
module X.Y.base.Z {
>X : typeof X
>Y : typeof Y
>base : typeof base
>Z : typeof Z
2014-08-15 23:33:16 +02:00
export var f = X.Y.base.f; // Should be base.f
>f : () => void
>X.Y.base.f : () => void
>X.Y.base : typeof base
>X.Y : typeof Y
>X : typeof X
>Y : typeof Y
>base : typeof base
>f : () => void
2014-08-15 23:33:16 +02:00
export var C = X.Y.base.C; // Should be base.C
>C : typeof base.C
>X.Y.base.C : typeof base.C
>X.Y.base : typeof base
>X.Y : typeof Y
>X : typeof X
>Y : typeof Y
>base : typeof base
>C : typeof base.C
2014-08-15 23:33:16 +02:00
export var M = X.Y.base.M; // Should be base.M
>M : typeof base.M
>X.Y.base.M : typeof base.M
>X.Y.base : typeof base
>X.Y : typeof Y
>X : typeof X
>Y : typeof Y
>base : typeof base
>M : typeof base.M
2014-08-15 23:33:16 +02:00
export var E = X.Y.base.E; // Should be base.E
>E : typeof base.E
>X.Y.base.E : typeof base.E
>X.Y.base : typeof base
>X.Y : typeof Y
>X : typeof X
>Y : typeof Y
>base : typeof base
>E : typeof base.E
2014-08-15 23:33:16 +02:00
}