Skip to content

Commit dfc3373

Browse files
Update compiler/src/dotty/tools/dotc/typer/Checking.scala
Co-authored-by: Guillaume Martres <smarter@ubuntu.com>
1 parent d559907 commit dfc3373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Checking.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ object Checking {
839839
traverseChildren(tree)
840840

841841
def reportNoRefinements(pos: SrcPos) =
842-
report.error("PolyFunction refinement must have a refinements of the apply method", pos)
842+
report.error("PolyFunction subtypes must refine the apply method", pos)
843843
}.traverse(tree)
844844
}
845845

0 commit comments

Comments
 (0)