v.add_monomorphic_send(v.receiver, auto_super_init)
end
end
- else if npropdef isa AInternMethPropdef or npropdef isa AExternMethPropdef then
+ else if npropdef isa AInternMethPropdef or
+ (npropdef isa AExternMethPropdef and npropdef.n_extern != null) then
# UGLY: We force the "instantation" of the concrete return type if any
var ret = mmethoddef.msignature.return_mtype
if ret != null and ret isa MClassType and ret.mclass.kind != abstract_kind and ret.mclass.kind != interface_kind then
v.add_type(ret)
end
+ else if npropdef isa AExternMethPropdef then
+ var nclassdef = npropdef.parent.as(AClassdef)
+ v.enter_visit(npropdef)
else if npropdef isa AExternInitPropdef then
v.add_type(v.receiver)
else