--- parser3/tests/254.html 2012/05/19 20:01:28 1.4
+++ parser3/tests/254.html 2013/10/20 21:10:09 1.7
@@ -3,9 +3,14 @@
$a[ $.v1[1] $.v2[2] $.v3[3] ]
$b[^test::create[]]
-Uid: ^reflection:uid[$b] $c[$b]
+$c[$b]
+
^reflection:copy[$a;$b]
-Same uid: ^reflection:uid[$c]
+
+^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]]
@@ -16,10 +21,10 @@ Hash a:
^print[$a]
$string[string]
-^try_catch{
+^try-catch{
^reflection:copy[$string;$a]
}
-^try_catch{
+^try-catch{
^reflection:copy[$a;$string]
}
@@ -27,15 +32,6 @@ $string[string]
^hash.foreach[k;v]{$k = $v
}
-@try_catch[code]
-^try{
- $code
-}{
- $exception.handled(true)
- $exception.source
- $exception.comment
-}
-
@CLASS
test