Annotation of parser3/tests/433.html, revision 1.4
1.1 moko 1: @main[]
2:
1.4 ! moko 3: ^show[^array::copy[$void]]
1.2 moko 4:
1.1 moko 5: $a[^array::create[]]
6:
7: $a.05[a5] $a.20[a20] $a.10[a30] $a.25[$void]
8:
9: 1. ^a.count[] elements, ^show[$a]
10:
11: 2. $h[^hash::create[$a]] ^show[$h]
12:
13: 3. $h[ $.05[h05] $.10[h10] $.1[h1] ]
14: $tmp[^hash::create[$h]] ^tmp.add[$a] ^show[$tmp]
15:
16: 4. ^show[^h.union[$a]]
17:
18: 5. ^show[^h.intersection[$a]]
19:
1.4 ! moko 20: 6. $a[^array::copy[^o::create[]]]
1.1 moko 21: ^show[$a]
22:
1.3 moko 23: 7. $obj[^o2::create[]] $o.1
1.4 ! moko 24: $a[^array::copy[$obj]]
1.3 moko 25: $MAIN:log
26: as_hash calls def and thus result is empty: ^show[$a]
27:
28: 8. $MAIN:log[]
29: $h[^hash::create[$obj]]
30: $MAIN:log
31: get_hash can still get the hash: ^show[$h]
32:
33: 9. ^try-catch{ $h[^hash::create[^o2-endless-bug::create[]]] }
34:
1.1 moko 35: @show[v]
36: ^json:string[$v; $.array[object] ]
37:
38: @CLASS
39: o
40:
41: @create[]
42: $1[v1]
43: $3[v3]
1.3 moko 44: $MAIN:log[created]
45:
46: @CLASS
47: o2
48:
49: @BASE
50: o
51:
52: @GET[mode]
53: ^if($mode eq 'def'){ $result(false)}{ $result[^reflection:fields_reference[$self]] }
54: $MAIN:log[$MAIN:log^#0A$mode called got $result.CLASS_NAME]
55:
56: @CLASS
57: o2-endless-bug
58:
59: @BASE
60: o
1.1 moko 61:
1.3 moko 62: @GET[mode]
63: $result[$self]
E-mail: