12 lines
429 B
Text
12 lines
429 B
Text
=== tests/cases/compiler/extendNonClassSymbol1.ts ===
|
|
class A { foo() { } }
|
|
>A : Symbol(A, Decl(extendNonClassSymbol1.ts, 0, 0))
|
|
>foo : Symbol(foo, Decl(extendNonClassSymbol1.ts, 0, 9))
|
|
|
|
var x = A;
|
|
>x : Symbol(x, Decl(extendNonClassSymbol1.ts, 1, 3))
|
|
>A : Symbol(A, Decl(extendNonClassSymbol1.ts, 0, 0))
|
|
|
|
class C extends x { } // error, could not find symbol xs
|
|
>C : Symbol(C, Decl(extendNonClassSymbol1.ts, 1, 10))
|
|
|