Fix if logic error

ifs may have an empty true block
Especially for unlesses thet is normal, so allow
This commit is contained in:
Torsten Ruger
2019-03-05 20:30:24 +02:00
parent 9bd2195a15
commit 11c5389e24
3 changed files with 10 additions and 7 deletions

View File

@ -16,7 +16,7 @@ module Ruby
end
# This RubyCompiler compiles incoming ruby (string) into a typed
# version of theast, with the help of the parser gem.
# version of the ast, with the help of the parser gem.
# The parser outputs an abstract ast (nodes)
# that get transformed into concrete, specific classes.
#