2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileEnumUsedAsValue.ts ===
|
|
|
|
|
|
|
|
enum e {
|
2015-04-13 23:01:57 +02:00
|
|
|
>e : e, Symbol(e, Decl(declFileEnumUsedAsValue.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a,
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : e, Symbol(e.a, Decl(declFileEnumUsedAsValue.ts, 1, 8))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
b,
|
2015-04-13 23:01:57 +02:00
|
|
|
>b : e, Symbol(e.b, Decl(declFileEnumUsedAsValue.ts, 2, 6))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
c
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : e, Symbol(e.c, Decl(declFileEnumUsedAsValue.ts, 3, 6))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
var x = e;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : typeof e, Symbol(x, Decl(declFileEnumUsedAsValue.ts, 6, 3))
|
|
|
|
>e : typeof e, Symbol(e, Decl(declFileEnumUsedAsValue.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|