We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9671ac commit 5117a8dCopy full SHA for 5117a8d
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -1210,7 +1210,7 @@ object Types {
1210
case mt @ MethodType(_, formals) if !mt.isDependent || ctx.mode.is(Mode.AllowDependentFunctions) =>
1211
val formals1 = if (dropLast == 0) formals else formals dropRight dropLast
1212
defn.FunctionOf(
1213
- formals1 mapConserve (_.underlyingIfRepeated(mt.isJava)), mt.resultType)
+ formals1 mapConserve (_.underlyingIfRepeated(mt.isJava)), mt.resultType, mt.isImplicit && !ctx.erasedTypes)
1214
}
1215
1216
/** The signature of this type. This is by default NotAMethod,
0 commit comments