aboutsummaryrefslogtreecommitdiff
path: root/bench/src
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-11-16 14:50:42 +0100
committerMartin Odersky <odersky@gmail.com>2015-11-16 14:50:42 +0100
commit10ee00edf779fbf8ad74886e523811dd96fbab5e (patch)
treedda5dced27e3cb16e2fe0c1d850ac16bd768ec68 /bench/src
parentd8c4ab697aa97da509bc2c943a65e4ec78917211 (diff)
downloaddotty-10ee00edf779fbf8ad74886e523811dd96fbab5e.tar.gz
dotty-10ee00edf779fbf8ad74886e523811dd96fbab5e.tar.bz2
dotty-10ee00edf779fbf8ad74886e523811dd96fbab5e.zip
Flag trailing `_' following non-function as an error
If `x` is not a function or method, then `x _` should be disallowed. scalac accepts this and converts it to () => x instead. I'd like to drop this because it's unnecessary and non-obvious. If -language:Scala2 is on, the behavior is like Scala 2's but a migration warning is issued.
Diffstat (limited to 'bench/src')
0 files changed, 0 insertions, 0 deletions