mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
33 lines
557 B
Plaintext
33 lines
557 B
Plaintext
//// [tests/cases/compiler/commentOnAmbientEnum.ts] ////
|
|
|
|
=== b.ts ===
|
|
///<reference path="a.ts"/>
|
|
declare enum E {
|
|
>E : Symbol(E, Decl(b.ts, 0, 0))
|
|
}
|
|
=== a.ts ===
|
|
/*!=========
|
|
Keep this pinned comment
|
|
=========
|
|
*/
|
|
|
|
/*! Don't keep this pinned comment */
|
|
declare enum C {
|
|
>C : Symbol(C, Decl(a.ts, 0, 0))
|
|
|
|
a,
|
|
>a : Symbol(C.a, Decl(a.ts, 6, 16))
|
|
|
|
b,
|
|
>b : Symbol(C.b, Decl(a.ts, 7, 6))
|
|
|
|
c
|
|
>c : Symbol(C.c, Decl(a.ts, 8, 6))
|
|
}
|
|
|
|
// Don't keep this comment.
|
|
declare enum D {
|
|
>D : Symbol(D, Decl(a.ts, 10, 1))
|
|
}
|
|
|