minor
This commit is contained in:
parent
6c7e4c0fe2
commit
ae21feb6dc
@ -202,7 +202,7 @@ module Interpreter
|
||||
else
|
||||
raise "unimplemented '#{@instruction.operator}' #{@instruction}"
|
||||
end
|
||||
puts "#{@instruction} == #{result}"
|
||||
#puts "#{@instruction} == #{result}"
|
||||
right = set_register(@instruction.left , result)
|
||||
true
|
||||
end
|
||||
|
@ -30,7 +30,7 @@ module Phisol
|
||||
raise "Already in method #{@method}" if @method
|
||||
@method = @clazz.get_instance_method( name )
|
||||
if(@method)
|
||||
puts "Warning, redefining method #{name}" unless name == :main
|
||||
#puts "Warning, redefining method #{name}" unless name == :main
|
||||
#TODO check args / type compatibility
|
||||
@method.source.init @method
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user