File:  [parser3project] / parser3 / www / htdocs / Attic / _bug.html
Revision 1.73: download - view: text, annotated - select for diffs - revision graph
Thu Dec 23 14:40:54 2004 UTC (21 years, 6 months ago) by paf
Branches: MAIN
CVS tags: HEAD
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)]

E-mail: