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:
@ -8,7 +8,8 @@ module Vool
|
||||
end
|
||||
|
||||
def each(&block)
|
||||
block.call(@return_value)
|
||||
block.call(self)
|
||||
@return_value.each(&block)
|
||||
end
|
||||
|
||||
# Since the return is normalized to only allow simple values it is simple.
|
||||
|
Reference in New Issue
Block a user