source scan issue
Reported by Philipp Pirozhkov | December 20th, 2008 @ 06:00 PM
module Exp
def out(abspath, method, application, controller, action, cookies, parameters)
controller_file = ['controllers/', controller.to_string(), '.re'].join()
Local.puts([" <- incoming request: ", abspath.to_string(),"\n -> request took ", (sec-isec)*1000 + (nsec-insec)/1000, " ms"].join())
'result'
def render_page(layout, filename, title, head, bindings)
['views/', filename, '.retem'].join()
fails with:
exception throw: {tuple,
{error,
{tuple,{9,{list,{[],"illegal \"'].join()\\n\""}}}}}}
in function 'Eval':string/1
in call from 'Eval':local/2
in call from erl_eval:local_func/5
in call from eval_shim:exprs/3
in call from reia_erl:erl_funcall/3
in call from 'Eval':exprs/2
Comments and changes to this ticket
-
Philipp Pirozhkov December 20th, 2008 @ 06:09 PM
- Title changed from source parse/scan issue to source scan issue
ooops, seems that
sec=1 isec=2 nsec=3 insec=4
is missing in def out but that doesn't affect anything, the issue is still there
Interesting that scanner only fails on the second join()
Additionally, if i change the call to join(''), the exception is different
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)