--- parser3/tests/254.html 2010/09/04 23:46:34 1.1
+++ parser3/tests/254.html 2013/10/20 21:10:09 1.7
@@ -3,8 +3,15 @@
$a[ $.v1[1] $.v2[2] $.v3[3] ]
$b[^test::create[]]
+$c[$b]
+
^reflection:copy[$a;$b]
+^if(^reflection:uid[$b] eq ^reflection:uid[$c]){Same uid}
+
+$str[value] $c[$str]
+^if(^reflection:uid[$str] eq ^reflection:uid[$c]){Same string}
+
Object b:
^print[^hash::create[$b]]
@@ -13,27 +20,18 @@ Object b:
Hash a:
^print[$a]
-$string[$string]
-^try_catch{
+$string[string]
+^try-catch{
^reflection:copy[$string;$a]
}
-^try_catch{
-# ^reflection:copy[$a;$string]
+^try-catch{
+ ^reflection:copy[$a;$string]
}
@print[hash]
^hash.foreach[k;v]{$k = $v
}
-@try_catch[code]
-^try{
- $code
-}{
- $exception.handled(true)
- $exception.source
- $exception.comment
-}
-
@CLASS
test