Fix ruby receiver to vool

for chained calls to be normalized correctly
This commit is contained in:
2019-08-16 16:05:45 +03:00
parent c213cf874b
commit dee1e24c28
3 changed files with 13 additions and 14 deletions

View File

@ -44,13 +44,10 @@ module Ruby
"self"
end
end
class SuperExpression < Statement
class SuperExpression < Constant
def to_s(depth = 0)
"super"
end
def to_vool
vool_brother.new
end
end
class StringConstant < ValueConstant
attr_reader :value