tarcieri/reia

Binding annotator/SSA transform fails on chained method calls

Closed this issue · 1 comments

Example:

bindings = {}.insert(:title, 'Ryan and Reia homemade webapp').insert(:head, head)

Context:

http://github.com/pirj/ryan/blob/master/application_example/pages/home.re

Error:

Loading pages: home.re /home/phil/source/ryan/application_example/pages/home.re:17: variable head is unbound
exception error: no match of right hand side value error
 in function  reia_bytecode:compile_submodule/3
 in call from reia_bytecode:'-compile_submodules/3-lc$^0/1-0-'/3
 in call from reia_bytecode:compile_expressions/3
 in call from reia_bytecode:compile/3
 in call from reia_internal:compile/2
 in call from reia_internal:load/2
 in call from lists:foreach/2
 in call from 'List':call/2

Seems to be working now shrug