Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

source scan issue

#14

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

Reported by Philipp Pirozhkov · December 20th, 2008 @ 06:00 PM

State: new
Milestone: none
Assigned to: Tony Arcieri Tony Arcieri

Activity

  1. Philipp Pirozhkov
    Philipp Pirozhkov
    • 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

    December 20th, 2008 @ 06:09 PM

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.