32 lines
721 B
Text
32 lines
721 B
Text
=== tests/cases/compiler/b.ts ===
|
|
///<reference path="a.ts"/>
|
|
declare module E {
|
|
>E : Symbol(E, Decl(b.ts, 0, 0))
|
|
|
|
class foobar extends D.bar {
|
|
>foobar : Symbol(foobar, Decl(b.ts, 1, 18))
|
|
>D.bar : Symbol(D.bar, Decl(a.ts, 6, 18))
|
|
>D : Symbol(D, Decl(a.ts, 3, 1))
|
|
>bar : Symbol(D.bar, Decl(a.ts, 6, 18))
|
|
|
|
foo();
|
|
>foo : Symbol(foo, Decl(b.ts, 2, 32))
|
|
}
|
|
}
|
|
=== tests/cases/compiler/a.ts ===
|
|
/*! Keep this pinned comment */
|
|
declare module C {
|
|
>C : Symbol(C, Decl(a.ts, 0, 0))
|
|
|
|
function foo();
|
|
>foo : Symbol(foo, Decl(a.ts, 1, 18))
|
|
}
|
|
|
|
// Don't keep this comment.
|
|
declare module D {
|
|
>D : Symbol(D, Decl(a.ts, 3, 1))
|
|
|
|
class bar { }
|
|
>bar : Symbol(bar, Decl(a.ts, 6, 18))
|
|
}
|
|
|