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 b640754 commit 3694baeCopy full SHA for 3694bae
compiler/src/dotty/tools/dotc/core/Definitions.scala
@@ -1119,7 +1119,7 @@ class Definitions {
1119
ft match
1120
case PolyFunctionOf(mt: MethodType) =>
1121
Some(mt.paramInfos, mt.resType, mt.isContextualMethod)
1122
- case AppliedType(parent, targs) if targs.nonEmpty && isFunctionNType(ft) =>
+ case AppliedType(parent, targs) if isFunctionNType(ft) =>
1123
Some(targs.init, targs.last, ft.typeSymbol.name.isContextFunction)
1124
case _ =>
1125
None
0 commit comments