|
|
bugfix: when method junction was created by accessing $name_of_method it acquired bad self=closest methodframe; instead of proper self (current class)
@main[]
$cH[^cH[]]
^if($cH.this is "junction"){
$result[^cH.this[$cH.th_par]]
}{
$result[0]
}
####################################################################################################################
@cH[]
$result[
$.this[$mThis]
$.th_par[
$.a(2)
$.b(3)
]
]
####################################################################################################################
@mThis[lparams][params]
$params[^hash::create[$lparams]]
$result[^eval($params.a * $params.b)]