Fixing self type creation
When compiling a classs, we pick up all instance variables. Now that conditions and returns can be calls, that was broken, now fixed
This commit is contained in:
@ -23,7 +23,7 @@ module Vool
|
||||
|
||||
def each(&block)
|
||||
block.call(self)
|
||||
block.call(@condition)
|
||||
@condition.each(&block)
|
||||
@hoisted.each(&block) if @hoisted
|
||||
@body.each(&block)
|
||||
end
|
||||
|
Reference in New Issue
Block a user