Adding support for natively implemented interfaces
This commit is contained in:
parent
e45ed9da91
commit
989900eafa
|
@ -573,6 +573,17 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
|
|||
var cl = new ClassSymbolNative(new Origin(), "{{o.name|ns_last}}",
|
||||
{% if o.parent %}
|
||||
types.T("{{o.parent}}"),
|
||||
{% else %}
|
||||
new Proxy<IType>(),
|
||||
{% endif %}
|
||||
{% if o.implements -%}
|
||||
new List<Proxy<IType>>() {
|
||||
{% for imp in o.implements %}
|
||||
types.T("{{imp.name}}"),
|
||||
{% endfor %}
|
||||
},
|
||||
{% else %}
|
||||
null,
|
||||
{% endif %}
|
||||
{% if has_token(o, 'bhl_no_new') ~%}
|
||||
//constructor is not allowed
|
||||
|
|
Loading…
Reference in New Issue