--- parser3/tests/224.html 2009/08/11 12:40:42 1.3 +++ parser3/tests/224.html 2010/06/29 06:01:22 1.7 @@ -24,6 +24,7 @@ $t[^hi._keys[]] ^do{$d[^reflection:create[date;now](-2)]} ^do{$o[^reflection:create[test;create](-1)]} +^do{$o0[^reflection:create[test;create0]]} ^do{$o1[^reflection:create[test1;create1](1)]} ^do{$o2[^reflection:create[test2;create2]]}
@@ -39,9 +40,18 @@ $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{ @@ -64,7 +74,7 @@ done. $k[$t.key] $v[$m.$k] $h[^reflection:method_info[$class;$k]] - ^@${k}[^if($v eq "native"){^if($h.min_params != $h.max_params){^h.min_params.int(0)-}^h.max_params.int(0)}{^for[i](0;^h._count[]){$h.$i}[^;]}]^if(def $h.call_type){ {$h.call_type}}^if(def $h.inherited){ {defined in $h.inherited}} + ^@${k}[^if($v eq "native"){^if($h.min_params != $h.max_params){^h.min_params.int(0)-}^h.max_params.int(0)}{^for[i](0;^h._count[]-1){$h.$i}[^;]}]^if(def $h.call_type){ {$h.call_type}}^if(def $h.inherited){ {defined in $h.inherited}} }[
] } ^if(def $o){