We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c373e68 commit 16b694dCopy full SHA for 16b694d
compiler/src/dotty/tools/dotc/reporting/messages.scala
@@ -2349,7 +2349,7 @@ import transform.SymUtils._
2349
def explain =
2350
em"""|${cdef.name} must have at least one leading non-implicit parameter list,
2351
| 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
+ | add an explicit ${hl("()")} as the first parameter list to ${cdef.name}.""".stripMargin
2353
}
2354
2355
class EnumerationsShouldNotBeEmpty(cdef: untpd.TypeDef)(using Context)
0 commit comments