diff options
author | odersky <odersky@gmail.com> | 2017-03-03 14:15:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-03 14:15:30 +0100 |
commit | 761b1fd116ddbf24e54dc46f85017f6ee2397142 (patch) | |
tree | 1aa29fc99df1cdf53c84ad96f36eac26d12db22a /compiler/src/dotty/tools/dotc/typer/Applications.scala | |
parent | 917a7edad284b180dff917341dd0f800d430291f (diff) | |
parent | 2e33a882f4dee2731df3e4604e9af338b5a8ec42 (diff) | |
download | dotty-761b1fd116ddbf24e54dc46f85017f6ee2397142.tar.gz dotty-761b1fd116ddbf24e54dc46f85017f6ee2397142.tar.bz2 dotty-761b1fd116ddbf24e54dc46f85017f6ee2397142.zip |
Merge pull request #2031 from dotty-staging/fix-#2030
Fix #2030: Don't chain implicit conversions
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Applications.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/typer/Applications.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Applications.scala b/compiler/src/dotty/tools/dotc/typer/Applications.scala index e9df12b42..222717e7e 100644 --- a/compiler/src/dotty/tools/dotc/typer/Applications.scala +++ b/compiler/src/dotty/tools/dotc/typer/Applications.scala @@ -1384,7 +1384,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic => else WildcardType) val commonFormal = defn.FunctionOf(commonParamTypes, WildcardType) overload.println(i"pretype arg $arg with expected type $commonFormal") - pt.typedArg(arg, commonFormal) + pt.typedArg(arg, commonFormal)(ctx.addMode(Mode.ImplicitsEnabled)) } } } |