--- parser3/tests/254.html 2010/10/12 21:37:06 1.3 +++ 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]] @@ -14,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] } @@ -25,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