Skip to content

Commit d1ea601

Browse files
committed
Fix rebase
1 parent ff41dbd commit d1ea601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/NameOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ object NameOps {
227227
/** Is a function name
228228
* - FunctionN for N >= 0
229229
*/
230-
def isPlainFunction: Boolean = functionArityFor(str.Function) >= 0
230+
def isPlainFunction: Boolean = functionArity >= 0
231231

232232
/** Is an context function name, i.e one of ContextFunctionN or ErasedContextFunctionN for N >= 0
233233
*/

0 commit comments

Comments
 (0)