Cannot instantiate external with init
external require;
external Foo = require("Foo");
module Vendor.Factual
{
external foo = new Foo();
}
[ ERROR ] JSPPE5005: Cannot instantiate `Foo'. Only classes and external functions can be instantiated at line 6 char 24 at foo.jspp
This is strange to me because types are generalizations. The type for external (even with initializer)... is still external. Were you comparing AST nodes?