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 b577f64 commit d2dde86Copy full SHA for d2dde86
compiler/src/dotty/tools/dotc/core/TypeErasure.scala
@@ -567,10 +567,7 @@ object TypeErasure {
567
functionType(info.resultType)
568
case info: MethodType =>
569
assert(!info.resultType.isInstanceOf[MethodicType])
570
- defn.FunctionType(
571
- n = info.erasedParams.count(_ == false),
572
- isContextual = info.isImplicitMethod,
573
- )
+ defn.FunctionType(n = info.erasedParams.count(_ == false))
574
}
575
erasure(functionType(applyInfo))
576
0 commit comments