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 ff41dbd commit d1ea601Copy full SHA for d1ea601
compiler/src/dotty/tools/dotc/core/NameOps.scala
@@ -227,7 +227,7 @@ object NameOps {
227
/** Is a function name
228
* - FunctionN for N >= 0
229
*/
230
- def isPlainFunction: Boolean = functionArityFor(str.Function) >= 0
+ def isPlainFunction: Boolean = functionArity >= 0
231
232
/** Is an context function name, i.e one of ContextFunctionN or ErasedContextFunctionN for N >= 0
233
0 commit comments