mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
//// [tests/cases/compiler/classWithMultipleBaseClasses.ts] ////
|
|
|
|
=== classWithMultipleBaseClasses.ts ===
|
|
class A {
|
|
>A : Symbol(A, Decl(classWithMultipleBaseClasses.ts, 0, 0))
|
|
|
|
foo() { }
|
|
>foo : Symbol(A.foo, Decl(classWithMultipleBaseClasses.ts, 0, 9))
|
|
}
|
|
|
|
class B {
|
|
>B : Symbol(B, Decl(classWithMultipleBaseClasses.ts, 2, 1))
|
|
|
|
bar() { }
|
|
>bar : Symbol(B.bar, Decl(classWithMultipleBaseClasses.ts, 4, 9))
|
|
}
|
|
|
|
interface I {
|
|
>I : Symbol(I, Decl(classWithMultipleBaseClasses.ts, 6, 1), Decl(classWithMultipleBaseClasses.ts, 20, 1))
|
|
|
|
baz();
|
|
>baz : Symbol(I.baz, Decl(classWithMultipleBaseClasses.ts, 8, 13))
|
|
}
|
|
|
|
interface J {
|
|
>J : Symbol(J, Decl(classWithMultipleBaseClasses.ts, 10, 1))
|
|
|
|
bat();
|
|
>bat : Symbol(J.bat, Decl(classWithMultipleBaseClasses.ts, 12, 13))
|
|
}
|
|
|
|
|
|
class D implements I, J {
|
|
>D : Symbol(D, Decl(classWithMultipleBaseClasses.ts, 14, 1))
|
|
>I : Symbol(I, Decl(classWithMultipleBaseClasses.ts, 6, 1), Decl(classWithMultipleBaseClasses.ts, 20, 1))
|
|
>J : Symbol(J, Decl(classWithMultipleBaseClasses.ts, 10, 1))
|
|
|
|
baz() { }
|
|
>baz : Symbol(D.baz, Decl(classWithMultipleBaseClasses.ts, 17, 25))
|
|
|
|
bat() { }
|
|
>bat : Symbol(D.bat, Decl(classWithMultipleBaseClasses.ts, 18, 13))
|
|
}
|
|
|
|
interface I extends A, B {
|
|
>I : Symbol(I, Decl(classWithMultipleBaseClasses.ts, 6, 1), Decl(classWithMultipleBaseClasses.ts, 20, 1))
|
|
>A : Symbol(A, Decl(classWithMultipleBaseClasses.ts, 0, 0))
|
|
>B : Symbol(B, Decl(classWithMultipleBaseClasses.ts, 2, 1))
|
|
}
|