Require parentheses around operator and setter arguments.

This commit is contained in:
Bob Nystrom
2014-04-08 17:54:37 -07:00
parent 45701692af
commit dca58ff747
19 changed files with 40 additions and 35 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
class Foo {
+ other { "Foo " + other }
+(other) { "Foo " + other }
}
IO.print(new Foo + "value") // expect: Foo value