diff options
author | Den Shabalin <den.shabalin@gmail.com> | 2013-12-02 18:50:40 +0100 |
---|---|---|
committer | Den Shabalin <den.shabalin@gmail.com> | 2013-12-10 14:09:27 +0100 |
commit | 8bde124040f3e053d6312702f2cd722ac92fc132 (patch) | |
tree | 7a885b01a74b959ceb3b53272b37034591d9ad3a /tools/scaladoc-compare | |
parent | b345b42cac64aa97e3bbcc6f14ef8f08214ab56f (diff) | |
download | scala-8bde124040f3e053d6312702f2cd722ac92fc132.tar.gz scala-8bde124040f3e053d6312702f2cd722ac92fc132.tar.bz2 scala-8bde124040f3e053d6312702f2cd722ac92fc132.zip |
SI-8008 Make q”f(..$xs)” only match trees with Apply node
Previously it also matched other nodes but returned Nil as value of xs.
This behavior was added for sake of consistentcy with q”f[..$ts]”. On
the other hand q”f[..$Nil]” == q”f” but q”f(..$Nil)” == q”f()” not q”f”.
Due to this deconstruction/construction symmetry was broken.
On the other hand applications also have q"f(...$xss)" option which is
infact similar to q"f[..$ts]". Splicing Nil into it also results in q"f".
Diffstat (limited to 'tools/scaladoc-compare')
0 files changed, 0 insertions, 0 deletions