TypeScript/tests/baselines/reference/declarationMerging1.symbols
2016-03-16 13:45:55 -07:00

21 lines
595 B
Text

=== tests/cases/compiler/file1.ts ===
class A {
>A : Symbol(A, Decl(file1.ts, 0, 0), Decl(file2.ts, 0, 0))
protected _f: number;
>_f : Symbol(A._f, Decl(file1.ts, 0, 9))
getF() { return this._f; }
>getF : Symbol(A.getF, Decl(file1.ts, 1, 25))
>this._f : Symbol(A._f, Decl(file1.ts, 0, 9))
>this : Symbol(A, Decl(file1.ts, 0, 0), Decl(file2.ts, 0, 0))
>_f : Symbol(A._f, Decl(file1.ts, 0, 9))
}
=== tests/cases/compiler/file2.ts ===
interface A {
>A : Symbol(A, Decl(file1.ts, 0, 0), Decl(file2.ts, 0, 0))
run();
>run : Symbol(A.run, Decl(file2.ts, 0, 13))
}