32 lines
869 B
Text
32 lines
869 B
Text
=== tests/cases/compiler/t.ts ===
|
|
/// <reference path="a"/>
|
|
/// <reference path="b"/>
|
|
/// <reference path="c"/>
|
|
var a = aa; // Check that a.ts is referenced
|
|
>a : Symbol(a, Decl(t.ts, 3, 3))
|
|
>aa : Symbol(aa, Decl(a.ts, 0, 3))
|
|
|
|
var b = bb; // Check that b.d.ts is referenced
|
|
>b : Symbol(b, Decl(t.ts, 4, 3))
|
|
>bb : Symbol(bb, Decl(b.d.ts, 0, 11))
|
|
|
|
var c = cc; // Check that c.ts has precedence over c.d.ts
|
|
>c : Symbol(c, Decl(t.ts, 5, 3))
|
|
>cc : Symbol(cc, Decl(c.ts, 0, 3))
|
|
|
|
=== tests/cases/compiler/a.ts ===
|
|
var aa = 1;
|
|
>aa : Symbol(aa, Decl(a.ts, 0, 3))
|
|
|
|
=== tests/cases/compiler/b.d.ts ===
|
|
declare var bb: number;
|
|
>bb : Symbol(bb, Decl(b.d.ts, 0, 11))
|
|
|
|
=== tests/cases/compiler/c.ts ===
|
|
var cc = 1;
|
|
>cc : Symbol(cc, Decl(c.ts, 0, 3))
|
|
|
|
=== tests/cases/compiler/c.d.ts ===
|
|
declare var xx: number;
|
|
>xx : Symbol(xx, Decl(c.d.ts, 0, 11))
|
|
|