We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd61f3e commit ea648c3Copy full SHA for ea648c3
compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -1291,6 +1291,7 @@ object messages {
1291
val explanation =
1292
hl"""|$denot is declared as part of a cycle which makes it impossible for the
1293
|compiler to decide upon ${denot.name}'s type.
1294
+ |To avoid this error, try giving `${denot.name}` an explicit type.
1295
|""".stripMargin
1296
}
1297
0 commit comments