6 lines
No EOL
221 B
Text
6 lines
No EOL
221 B
Text
==== tests/cases/compiler/extendNonClassSymbol1.ts (1 errors) ====
|
|
class A { foo() { } }
|
|
var x = A;
|
|
class C extends x { } // error, could not find symbol xs
|
|
~
|
|
!!! Cannot find name 'x'. |