2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileForClassWithMultipleBaseClasses.ts ===
|
|
|
|
|
|
|
|
class A {
|
2015-04-13 23:01:57 +02:00
|
|
|
>A : A, Symbol(A, Decl(declFileForClassWithMultipleBaseClasses.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo() { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(declFileForClassWithMultipleBaseClasses.ts, 1, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class B {
|
2015-04-13 23:01:57 +02:00
|
|
|
>B : B, Symbol(B, Decl(declFileForClassWithMultipleBaseClasses.ts, 3, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
bar() { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>bar : () => void, Symbol(bar, Decl(declFileForClassWithMultipleBaseClasses.ts, 5, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface I {
|
2015-04-13 23:01:57 +02:00
|
|
|
>I : I, Symbol(I, Decl(declFileForClassWithMultipleBaseClasses.ts, 7, 1), Decl(declFileForClassWithMultipleBaseClasses.ts, 23, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
baz();
|
2015-04-13 23:01:57 +02:00
|
|
|
>baz : () => any, Symbol(baz, Decl(declFileForClassWithMultipleBaseClasses.ts, 9, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface J {
|
2015-04-13 23:01:57 +02:00
|
|
|
>J : J, Symbol(J, Decl(declFileForClassWithMultipleBaseClasses.ts, 11, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
bat();
|
2015-04-13 23:01:57 +02:00
|
|
|
>bat : () => any, Symbol(bat, Decl(declFileForClassWithMultipleBaseClasses.ts, 13, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class D implements I, J {
|
2015-04-13 23:01:57 +02:00
|
|
|
>D : D, Symbol(D, Decl(declFileForClassWithMultipleBaseClasses.ts, 15, 1))
|
|
|
|
>I : I, Symbol(I, Decl(declFileForClassWithMultipleBaseClasses.ts, 7, 1), Decl(declFileForClassWithMultipleBaseClasses.ts, 23, 1))
|
|
|
|
>J : J, Symbol(J, Decl(declFileForClassWithMultipleBaseClasses.ts, 11, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
baz() { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>baz : () => void, Symbol(baz, Decl(declFileForClassWithMultipleBaseClasses.ts, 18, 25))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
bat() { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>bat : () => void, Symbol(bat, Decl(declFileForClassWithMultipleBaseClasses.ts, 19, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo() { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(declFileForClassWithMultipleBaseClasses.ts, 20, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
bar() { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>bar : () => void, Symbol(bar, Decl(declFileForClassWithMultipleBaseClasses.ts, 21, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface I extends A, B {
|
2015-04-13 23:01:57 +02:00
|
|
|
>I : I, Symbol(I, Decl(declFileForClassWithMultipleBaseClasses.ts, 7, 1), Decl(declFileForClassWithMultipleBaseClasses.ts, 23, 1))
|
|
|
|
>A : A, Symbol(A, Decl(declFileForClassWithMultipleBaseClasses.ts, 0, 0))
|
|
|
|
>B : B, Symbol(B, Decl(declFileForClassWithMultipleBaseClasses.ts, 3, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|