aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Applications.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-12-29 18:34:28 +0100
committerMartin Odersky <odersky@gmail.com>2013-12-29 18:34:28 +0100
commit3f39cd8e15c321cf6ac97a0137087f7c2d69ce60 (patch)
tree447b2de4b54892e8128ade1fe297fb7335adadf1 /src/dotty/tools/dotc/typer/Applications.scala
parent4e1880c535367892b97e7a111438cb0ce49998c0 (diff)
downloaddotty-3f39cd8e15c321cf6ac97a0137087f7c2d69ce60.tar.gz
dotty-3f39cd8e15c321cf6ac97a0137087f7c2d69ce60.tar.bz2
dotty-3f39cd8e15c321cf6ac97a0137087f7c2d69ce60.zip
Avoiding an idiom which is not supported by dotty.
Normally, Predef.identity cannot be used as an expression with unknown expected type. You need a trailing `_`. But when used as a default argument, Scala 2x allows it. I am not sure why it is allowed. In dotty it's disallowed everywhere, hence the fix.
Diffstat (limited to 'src/dotty/tools/dotc/typer/Applications.scala')
0 files changed, 0 insertions, 0 deletions