File:  [parser3project] / parser3 / tests / 365.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Nov 21 20:24:10 2016 UTC (9 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, HEAD
test for $caller bugs in 3.4.4 and $caller.method now tested (related to feature #1110)

@main[]

^proxy[]

3.4.4 saved caller bug test: $CALLER.CLASS_NAME;
3.4.4 uncatchable exception "'local' element can not be fetched from wcontext": $CALLER.local;

@proxy[][local]
$local[local]
$result(true)
$result[^print[]]

@print[arg]

3.4.4 endless recoursion bug test: $caller;

caller local: $caller.local;

caller class name: ^reflection:class_name[$caller] $caller.CLASS_NAME;

caller backup: $CALLER[$caller] $CALLER.CLASS_NAME $CALLER.local;

3.4.5 has ^$caller.method: $m[^reflection:method_info[$caller.method]] $m.name;

E-mail: