|
| 1 | +=== tests/cases/compiler/clinterfaces.ts === |
| 2 | +module M { |
| 3 | +>M : Symbol(M, Decl(clinterfaces.ts, 0, 0)) |
| 4 | + |
| 5 | + class C { } |
| 6 | +>C : Symbol(C, Decl(clinterfaces.ts, 0, 10), Decl(clinterfaces.ts, 1, 15)) |
| 7 | + |
| 8 | + interface C { } |
| 9 | +>C : Symbol(C, Decl(clinterfaces.ts, 0, 10), Decl(clinterfaces.ts, 1, 15)) |
| 10 | + |
| 11 | + interface D { } |
| 12 | +>D : Symbol(D, Decl(clinterfaces.ts, 2, 19), Decl(clinterfaces.ts, 3, 19)) |
| 13 | + |
| 14 | + class D { } |
| 15 | +>D : Symbol(D, Decl(clinterfaces.ts, 2, 19), Decl(clinterfaces.ts, 3, 19)) |
| 16 | +} |
| 17 | + |
| 18 | +interface Foo<T> { |
| 19 | +>Foo : Symbol(Foo, Decl(clinterfaces.ts, 5, 1), Decl(clinterfaces.ts, 9, 1)) |
| 20 | +>T : Symbol(T, Decl(clinterfaces.ts, 7, 14), Decl(clinterfaces.ts, 11, 10)) |
| 21 | + |
| 22 | + a: string; |
| 23 | +>a : Symbol(a, Decl(clinterfaces.ts, 7, 18)) |
| 24 | +} |
| 25 | + |
| 26 | +class Foo<T>{ |
| 27 | +>Foo : Symbol(Foo, Decl(clinterfaces.ts, 5, 1), Decl(clinterfaces.ts, 9, 1)) |
| 28 | +>T : Symbol(T, Decl(clinterfaces.ts, 7, 14), Decl(clinterfaces.ts, 11, 10)) |
| 29 | + |
| 30 | + b: number; |
| 31 | +>b : Symbol(b, Decl(clinterfaces.ts, 11, 13)) |
| 32 | +} |
| 33 | + |
| 34 | +class Bar<T>{ |
| 35 | +>Bar : Symbol(Bar, Decl(clinterfaces.ts, 13, 1), Decl(clinterfaces.ts, 17, 1)) |
| 36 | +>T : Symbol(T, Decl(clinterfaces.ts, 15, 10), Decl(clinterfaces.ts, 19, 14)) |
| 37 | + |
| 38 | + b: number; |
| 39 | +>b : Symbol(b, Decl(clinterfaces.ts, 15, 13)) |
| 40 | +} |
| 41 | + |
| 42 | +interface Bar<T> { |
| 43 | +>Bar : Symbol(Bar, Decl(clinterfaces.ts, 13, 1), Decl(clinterfaces.ts, 17, 1)) |
| 44 | +>T : Symbol(T, Decl(clinterfaces.ts, 15, 10), Decl(clinterfaces.ts, 19, 14)) |
| 45 | + |
| 46 | + a: string; |
| 47 | +>a : Symbol(a, Decl(clinterfaces.ts, 19, 18)) |
| 48 | +} |
| 49 | + |
| 50 | +export = Foo; |
| 51 | +>Foo : Symbol(Foo, Decl(clinterfaces.ts, 5, 1), Decl(clinterfaces.ts, 9, 1)) |
| 52 | + |
0 commit comments