Hi,
Here's an example of what I'm pretty sure is a bug.
.sub main :main
newclass $P0, "Parent"
push_eh handler
$P2 = new "Parent"
print "not "
handler:
print "ok\n"
end
.end
.namespace ["Parent"]
.sub __init :method
$P0 = class self
$S0 = classname $P0
if $S0 != "Parent" goto INIT_OK
$P1 = new .Exception
$P1["_message"] = "Can not instantiate an interface!"
throw $P1
INIT_OK:
.end
I would expect this code to have the output:
ok
However, it actually outputs:
ok
not ok
Thanks,
Jonathan