last inherited test

This commit is contained in:
Torsten Ruger
2014-07-27 10:09:31 +03:00
parent 1a95835442
commit 8718ebf476
3 changed files with 5 additions and 4 deletions

View File

@ -68,6 +68,7 @@ module Ast
def compile method , message
raise "must assign to NameExpression , not #{left}" unless left.instance_of? NameExpression
r = right.compile(method,message)
raise "oh noo, nil from where #{right.inspect}" unless r
message.compile_set( method , left.name , r )
end
def old_scratch