Tue 27 Aug 00:14:56 CEST 2024

This commit is contained in:
sbosse 2024-08-27 00:15:02 +02:00
parent cc9a2b87e7
commit e2601ac531

31
test/test-invalidcall.js Normal file
View File

@ -0,0 +1,31 @@
function sample (p) {
this.act = {
init : function () {
log('init')
},
fail : function () {
log('should fail')
var x=without([1,2],[1]);
log(x)
},
end : function () {
log('end')
kill()
},
}
this.trans = {
init:fail,
fail:function () {
return end
}
}
this.next='init';
}
verbose(1)
// remove API call
delete Aios.aios1.without;
delete Aios.aios2.without;
compile(sample);
create('sample',{})
start()