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 556ff5e commit 846b3d9Copy full SHA for 846b3d9
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -1739,7 +1739,7 @@ object Types {
1739
else NoType
1740
case t if defn.isNonRefinedFunction(t) =>
1741
t
1742
- case t @ defn.PolyOrErasedFunctionOf(_: MethodType) =>
+ case t @ defn.PolyOrErasedFunctionOf(_) =>
1743
1744
case t @ SAMType(_, _) =>
1745
0 commit comments