add rewriting of operator assignment

foo += 1 becomes foo = foo + 1 in vool
This commit is contained in:
Torsten Ruger
2018-06-25 16:32:20 +03:00
parent 70d7e654c4
commit 67a6ef9f67
6 changed files with 56 additions and 3 deletions

View File

@ -14,7 +14,7 @@ module Rubyx
result = a + b
a = b
b = result
i+= 1
i += 1
end
return result
end