small clean
This commit is contained in:
@ -17,8 +17,7 @@ module Bosl
|
||||
#
|
||||
# Everything in ruby is an expression, ie returns a value. So the effect of every compile
|
||||
# is that a value is put into the ReturnSlot of the current Message.
|
||||
# The compile method (so every compile method) returns the value that it deposits which
|
||||
# may be unknown Unknown value.
|
||||
# The compile method (so every compile method) returns the value that it deposits.
|
||||
#
|
||||
# The process uses a visitor pattern (from AST::Processor) to dispatch according to the
|
||||
# type the expression. So a s(:if xx) will become an on_if(node) call.
|
||||
|
@ -72,9 +72,5 @@ module Bosl
|
||||
r
|
||||
end
|
||||
|
||||
def on_variable expression
|
||||
method.source.add_code InstanceGet.new(expression.name)
|
||||
Virtual::Return.new( Unknown )
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user