Skip to content

Commit ffa4a6d

Browse files
committed
Fix rebase
1 parent 04b8a76 commit ffa4a6d

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
@@ -228,7 +228,7 @@ object NameOps {
228228
/** Is a function name
229229
* - FunctionN for N >= 0
230230
*/
231-
def isPlainFunction: Boolean = functionArityFor(str.Function) >= 0
231+
def isPlainFunction: Boolean = functionArity >= 0
232232

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

0 commit comments

Comments
 (0)