Tue 27 Aug 00:14:56 CEST 2024
This commit is contained in:
parent
00ee12d73c
commit
1aa77193cc
25
test/test-fail1.js
Normal file
25
test/test-fail1.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
function foo() {
|
||||
this.x=null;
|
||||
this.act = {
|
||||
a1:function () {
|
||||
log('A')
|
||||
},
|
||||
a2:function () {
|
||||
log('B')
|
||||
this.x.push(1);
|
||||
},
|
||||
a3: function () {
|
||||
log('C')
|
||||
kill()
|
||||
}
|
||||
}
|
||||
this.trans = {
|
||||
a1:a2,
|
||||
a2:a3
|
||||
}
|
||||
this.next=a1
|
||||
}
|
||||
compile(foo)
|
||||
config({verbose:1})
|
||||
create('foo',{});
|
||||
start()
|
Loading…
Reference in New Issue
Block a user