Skip to content

Commit 01d45ef

Browse files
committed
Fix rebase
1 parent 4843393 commit 01d45ef

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
@@ -233,7 +233,7 @@ object NameOps {
233233
/** Is a function name
234234
* - FunctionN for N >= 0
235235
*/
236-
def isPlainFunction: Boolean = functionArityFor(str.Function) >= 0
236+
def isPlainFunction: Boolean = functionArity >= 0
237237

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

0 commit comments

Comments
 (0)