|
|
| version 1.2, 2017/05/03 19:31:52 | version 1.3, 2017/05/04 16:24:10 |
|---|---|
| Line 1 | Line 1 |
| # autouse checking | |
| @main[] | @main[] |
| $use-original[$use] | $t[^table::create{c1 c2 c3}] |
| $use[$use-custom] | ^t.insert[ $.c2(1) ] |
| ^try-catch{^use-original[386.p]} | ^try-catch{ $t.c3[^hash::create[]] } |
| @use-custom[name;options] | ^json:string[$t] |
| ^throw[test;trying to use $name from ^options.origin.match[^^.+/][]{/-real-path-was-here-/}] | |
| $t[^table::create[nameless]{}] | |
| ^t.insert[ $.10(10) $.12[12] ] | |
| ^try-catch{ ^t.insert[ $.1[ok] $.2{bad} ] } | |
| ^json:string[$t] |