15:42~/Projects/Master (master)$ scala
Welcome to Scala version 2.11.0-20131122-180524-744425aab4 (JavaHotSpot(TM) 64-BitServerVM, Java1.6.0_65).
Type in expressions to have them evaluated.
Type:help for more information.
foo: reflect.runtime.universe.Tree= foo
bar: reflect.runtime.universe.Name= bar
res0: reflect.runtime.universe.Tree= foo.bar()
Looks like the aforementioned roundtrip adds spurious argument list to argless applications. This is fine for empty-arglist methods, but nullary methods are going to get hurt.
The text was updated successfully, but these errors were encountered:
This change was introduced to make q"f(..$args)" behave similarly to q"f[..$targs]" but we've not considered the fact that this not applicable here due to different semantics of q"f(..$Nil)" and q"f[..$Nil]". Later case is equivalent to q"f" but former is not.