diff options
author | Martin Odersky <odersky@gmail.com> | 2013-12-29 18:34:28 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-12-29 18:34:28 +0100 |
commit | 3f39cd8e15c321cf6ac97a0137087f7c2d69ce60 (patch) | |
tree | 447b2de4b54892e8128ade1fe297fb7335adadf1 /src/dotty/tools/dotc/typer | |
parent | 4e1880c535367892b97e7a111438cb0ce49998c0 (diff) | |
download | dotty-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')
0 files changed, 0 insertions, 0 deletions