Require parentheses around operator and setter arguments.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Foo {
|
||||
+ other { "Foo " + other }
|
||||
+(other) { "Foo " + other }
|
||||
}
|
||||
|
||||
IO.print(new Foo + "value") // expect: Foo value
|
||||
|
||||
Reference in New Issue
Block a user