--- parser3/tests/254.html 2010/09/05 20:59:54 1.2 +++ 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,11 +20,11 @@ Object b: Hash a: ^print[$a] -$string[$string] -^try_catch{ +$string[string] +^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