Methods cannot be invoked when passed as parameter
Reported by Philipp Pirozhkov | February 28th, 2009 @ 01:13 PM
works fine:
js = add_handlers(handlers)
full_bindings = bindings.insert(~handlers, js).insert(~session, @session)
rendered = Retem.render(template, full_bindings)
fails:
rendered = bindings.insert(~handlers, add_handlers(handlers)).insert(~session, @session)
full text here: http://github.com/pirj/ryan/blob...
Comments and changes to this ticket
-
Philipp Pirozhkov February 28th, 2009 @ 01:15 PM
..and yes, i agree, the one that currently works looks better ;)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Reia a dynamic scripting language for the Erlang virtual machine (BEAM)