147 lines
5.4 KiB
Text
147 lines
5.4 KiB
Text
=== tests/cases/compiler/es6ModuleConstEnumDeclaration.ts ===
|
|
export const enum e1 {
|
|
>e1 : Symbol(e1, Decl(es6ModuleConstEnumDeclaration.ts, 0, 0))
|
|
|
|
a,
|
|
>a : Symbol(e1.a, Decl(es6ModuleConstEnumDeclaration.ts, 0, 22))
|
|
|
|
b,
|
|
>b : Symbol(e1.b, Decl(es6ModuleConstEnumDeclaration.ts, 1, 6))
|
|
|
|
c
|
|
>c : Symbol(e1.c, Decl(es6ModuleConstEnumDeclaration.ts, 2, 6))
|
|
}
|
|
const enum e2 {
|
|
>e2 : Symbol(e2, Decl(es6ModuleConstEnumDeclaration.ts, 4, 1))
|
|
|
|
x,
|
|
>x : Symbol(e2.x, Decl(es6ModuleConstEnumDeclaration.ts, 5, 15))
|
|
|
|
y,
|
|
>y : Symbol(e2.y, Decl(es6ModuleConstEnumDeclaration.ts, 6, 6))
|
|
|
|
z
|
|
>z : Symbol(e2.z, Decl(es6ModuleConstEnumDeclaration.ts, 7, 6))
|
|
}
|
|
var x = e1.a;
|
|
>x : Symbol(x, Decl(es6ModuleConstEnumDeclaration.ts, 10, 3))
|
|
>e1.a : Symbol(e1.a, Decl(es6ModuleConstEnumDeclaration.ts, 0, 22))
|
|
>e1 : Symbol(e1, Decl(es6ModuleConstEnumDeclaration.ts, 0, 0))
|
|
>a : Symbol(e1.a, Decl(es6ModuleConstEnumDeclaration.ts, 0, 22))
|
|
|
|
var y = e2.x;
|
|
>y : Symbol(y, Decl(es6ModuleConstEnumDeclaration.ts, 11, 3))
|
|
>e2.x : Symbol(e2.x, Decl(es6ModuleConstEnumDeclaration.ts, 5, 15))
|
|
>e2 : Symbol(e2, Decl(es6ModuleConstEnumDeclaration.ts, 4, 1))
|
|
>x : Symbol(e2.x, Decl(es6ModuleConstEnumDeclaration.ts, 5, 15))
|
|
|
|
export module m1 {
|
|
>m1 : Symbol(m1, Decl(es6ModuleConstEnumDeclaration.ts, 11, 13))
|
|
|
|
export const enum e3 {
|
|
>e3 : Symbol(e3, Decl(es6ModuleConstEnumDeclaration.ts, 12, 18))
|
|
|
|
a,
|
|
>a : Symbol(e3.a, Decl(es6ModuleConstEnumDeclaration.ts, 13, 26))
|
|
|
|
b,
|
|
>b : Symbol(e3.b, Decl(es6ModuleConstEnumDeclaration.ts, 14, 10))
|
|
|
|
c
|
|
>c : Symbol(e3.c, Decl(es6ModuleConstEnumDeclaration.ts, 15, 10))
|
|
}
|
|
const enum e4 {
|
|
>e4 : Symbol(e4, Decl(es6ModuleConstEnumDeclaration.ts, 17, 5))
|
|
|
|
x,
|
|
>x : Symbol(e4.x, Decl(es6ModuleConstEnumDeclaration.ts, 18, 19))
|
|
|
|
y,
|
|
>y : Symbol(e4.y, Decl(es6ModuleConstEnumDeclaration.ts, 19, 10))
|
|
|
|
z
|
|
>z : Symbol(e4.z, Decl(es6ModuleConstEnumDeclaration.ts, 20, 10))
|
|
}
|
|
var x1 = e1.a;
|
|
>x1 : Symbol(x1, Decl(es6ModuleConstEnumDeclaration.ts, 23, 7))
|
|
>e1.a : Symbol(e1.a, Decl(es6ModuleConstEnumDeclaration.ts, 0, 22))
|
|
>e1 : Symbol(e1, Decl(es6ModuleConstEnumDeclaration.ts, 0, 0))
|
|
>a : Symbol(e1.a, Decl(es6ModuleConstEnumDeclaration.ts, 0, 22))
|
|
|
|
var y1 = e2.x;
|
|
>y1 : Symbol(y1, Decl(es6ModuleConstEnumDeclaration.ts, 24, 7))
|
|
>e2.x : Symbol(e2.x, Decl(es6ModuleConstEnumDeclaration.ts, 5, 15))
|
|
>e2 : Symbol(e2, Decl(es6ModuleConstEnumDeclaration.ts, 4, 1))
|
|
>x : Symbol(e2.x, Decl(es6ModuleConstEnumDeclaration.ts, 5, 15))
|
|
|
|
var x2 = e3.a;
|
|
>x2 : Symbol(x2, Decl(es6ModuleConstEnumDeclaration.ts, 25, 7))
|
|
>e3.a : Symbol(e3.a, Decl(es6ModuleConstEnumDeclaration.ts, 13, 26))
|
|
>e3 : Symbol(e3, Decl(es6ModuleConstEnumDeclaration.ts, 12, 18))
|
|
>a : Symbol(e3.a, Decl(es6ModuleConstEnumDeclaration.ts, 13, 26))
|
|
|
|
var y2 = e4.x;
|
|
>y2 : Symbol(y2, Decl(es6ModuleConstEnumDeclaration.ts, 26, 7))
|
|
>e4.x : Symbol(e4.x, Decl(es6ModuleConstEnumDeclaration.ts, 18, 19))
|
|
>e4 : Symbol(e4, Decl(es6ModuleConstEnumDeclaration.ts, 17, 5))
|
|
>x : Symbol(e4.x, Decl(es6ModuleConstEnumDeclaration.ts, 18, 19))
|
|
}
|
|
module m2 {
|
|
>m2 : Symbol(m2, Decl(es6ModuleConstEnumDeclaration.ts, 27, 1))
|
|
|
|
export const enum e5 {
|
|
>e5 : Symbol(e5, Decl(es6ModuleConstEnumDeclaration.ts, 28, 11))
|
|
|
|
a,
|
|
>a : Symbol(e5.a, Decl(es6ModuleConstEnumDeclaration.ts, 29, 26))
|
|
|
|
b,
|
|
>b : Symbol(e5.b, Decl(es6ModuleConstEnumDeclaration.ts, 30, 10))
|
|
|
|
c
|
|
>c : Symbol(e5.c, Decl(es6ModuleConstEnumDeclaration.ts, 31, 10))
|
|
}
|
|
const enum e6 {
|
|
>e6 : Symbol(e6, Decl(es6ModuleConstEnumDeclaration.ts, 33, 5))
|
|
|
|
x,
|
|
>x : Symbol(e6.x, Decl(es6ModuleConstEnumDeclaration.ts, 34, 19))
|
|
|
|
y,
|
|
>y : Symbol(e6.y, Decl(es6ModuleConstEnumDeclaration.ts, 35, 10))
|
|
|
|
z
|
|
>z : Symbol(e6.z, Decl(es6ModuleConstEnumDeclaration.ts, 36, 10))
|
|
}
|
|
var x1 = e1.a;
|
|
>x1 : Symbol(x1, Decl(es6ModuleConstEnumDeclaration.ts, 39, 7))
|
|
>e1.a : Symbol(e1.a, Decl(es6ModuleConstEnumDeclaration.ts, 0, 22))
|
|
>e1 : Symbol(e1, Decl(es6ModuleConstEnumDeclaration.ts, 0, 0))
|
|
>a : Symbol(e1.a, Decl(es6ModuleConstEnumDeclaration.ts, 0, 22))
|
|
|
|
var y1 = e2.x;
|
|
>y1 : Symbol(y1, Decl(es6ModuleConstEnumDeclaration.ts, 40, 7))
|
|
>e2.x : Symbol(e2.x, Decl(es6ModuleConstEnumDeclaration.ts, 5, 15))
|
|
>e2 : Symbol(e2, Decl(es6ModuleConstEnumDeclaration.ts, 4, 1))
|
|
>x : Symbol(e2.x, Decl(es6ModuleConstEnumDeclaration.ts, 5, 15))
|
|
|
|
var x2 = e5.a;
|
|
>x2 : Symbol(x2, Decl(es6ModuleConstEnumDeclaration.ts, 41, 7))
|
|
>e5.a : Symbol(e5.a, Decl(es6ModuleConstEnumDeclaration.ts, 29, 26))
|
|
>e5 : Symbol(e5, Decl(es6ModuleConstEnumDeclaration.ts, 28, 11))
|
|
>a : Symbol(e5.a, Decl(es6ModuleConstEnumDeclaration.ts, 29, 26))
|
|
|
|
var y2 = e6.x;
|
|
>y2 : Symbol(y2, Decl(es6ModuleConstEnumDeclaration.ts, 42, 7))
|
|
>e6.x : Symbol(e6.x, Decl(es6ModuleConstEnumDeclaration.ts, 34, 19))
|
|
>e6 : Symbol(e6, Decl(es6ModuleConstEnumDeclaration.ts, 33, 5))
|
|
>x : Symbol(e6.x, Decl(es6ModuleConstEnumDeclaration.ts, 34, 19))
|
|
|
|
var x3 = m1.e3.a;
|
|
>x3 : Symbol(x3, Decl(es6ModuleConstEnumDeclaration.ts, 43, 7))
|
|
>m1.e3.a : Symbol(m1.e3.a, Decl(es6ModuleConstEnumDeclaration.ts, 13, 26))
|
|
>m1.e3 : Symbol(m1.e3, Decl(es6ModuleConstEnumDeclaration.ts, 12, 18))
|
|
>m1 : Symbol(m1, Decl(es6ModuleConstEnumDeclaration.ts, 11, 13))
|
|
>e3 : Symbol(m1.e3, Decl(es6ModuleConstEnumDeclaration.ts, 12, 18))
|
|
>a : Symbol(m1.e3.a, Decl(es6ModuleConstEnumDeclaration.ts, 13, 26))
|
|
}
|