Why can not inherit with var if var is typeof some class?

Topics: Language Specification
Jan 15, 2014 at 4:03 PM
For example:

class C { }
var vC: typeof C;
var C2 = new vC; //correct
class C3 extends vC { } //incorrect. Error: Could not find symbol vC

Why 'var C2 = new vC;' is the correct code and 'class C3 extends vC' is not?
Coordinator
Jan 15, 2014 at 10:42 PM
Arbitrary extends expressions didn't make it in for 1.0.
Jan 16, 2014 at 8:42 AM
vars do not introduce types (for compiler) and extends works only on types.

See similar problem: https://typescript.codeplex.com/discussions/490134#post1161797