--- parser3/tests/224.html 2009/08/26 14:12:43 1.4
+++ parser3/tests/224.html 2024/05/20 23:28:44 1.9
@@ -19,7 +19,7 @@ $t[^hi._keys[]]
^do{$d[^reflection:create[date;create]]}
-^do{$d[^reflection:create[date;calendar]]}
+^do{$d[^reflection:create[date;calendar;1;2;3]]}
^do{$d[^reflection:create[date;now](-2;1)]}
^do{$d[^reflection:create[date;now](-2)]}
@@ -40,21 +40,24 @@ $t[^hi._keys[]]
^print[date;$d]
^print[env;$env:CLASS]
^print[unknown]
-done.
+
+
+^test3:m[]
+$o[^test3::create[]]
+^o.m[]
+$h[^reflection:fields[$o.CLASS]]
+^h.foreach[k;v]{$k=$v}[, ]
+$h[^reflection:fields[$o]]
+^h.foreach[k;v]{$k=$v}[, ]
+done.
@do[code]
-^try{
+^try-catch{
$code
-}{
- $exception.handled(1)
- $exception.source
- $exception.comment
-
}
-
-
+
@print[class;o][m;k;v;h;i;t]
^do{