11 lines
No EOL
448 B
Text
11 lines
No EOL
448 B
Text
==== tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsShadowedConstructorFunction.ts (1 errors) ====
|
|
class C { foo: string; }
|
|
|
|
module M {
|
|
var C = 1;
|
|
class D extends C { // error, C must evaluate to constructor function
|
|
~
|
|
!!! Type name 'C' in extends clause does not reference constructor function for 'C'.
|
|
bar: string;
|
|
}
|
|
} |