nau / jscala

Scala macro that produces JavaScript from Scala code.
MIT License
205 stars 25 forks source link

Use operator precedence and associativity to eliminate parentheses #2

Closed nponeccop closed 11 years ago

nponeccop commented 11 years ago

Actual behavior:

res = (((("Sorry, I can't greet you in ") + language)) + " yet")

Expected behavior:

res = "Sorry, I can't greet you in " + language + " yet"