Skip to content

Commit 16b694d

Browse files
cgccuserprolativ
andauthored
Update compiler/src/dotty/tools/dotc/reporting/messages.scala
Co-authored-by: Michał Pałka <[email protected]>
1 parent c373e68 commit 16b694d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/reporting/messages.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2349,7 +2349,7 @@ import transform.SymUtils._
23492349
def explain =
23502350
em"""|${cdef.name} must have at least one leading non-implicit parameter list,
23512351
| if you're aiming to have a case class parametrized only by implicit ones, you should
2352-
| add an explicit ${hl("()")} as a parameter list to ${cdef.name}.""".stripMargin
2352+
| add an explicit ${hl("()")} as the first parameter list to ${cdef.name}.""".stripMargin
23532353
}
23542354

23552355
class EnumerationsShouldNotBeEmpty(cdef: untpd.TypeDef)(using Context)

0 commit comments

Comments
 (0)