Skip to content

Commit

Permalink
CyclicReferenceInvolving: improve explanation for consistency
Browse files Browse the repository at this point in the history
Tentative advice copied from `CyclicReferenceInvolvingImplicit`.
  • Loading branch information
Blaisorblade committed Aug 9, 2018
1 parent feef97e commit 68c5d57
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1291,6 +1291,7 @@ object messages {
val explanation =
hl"""|$denot is declared as part of a cycle which makes it impossible for the
|compiler to decide upon ${denot.name}'s type.
|To avoid this error, try giving `${denot.name}` an explicit type.
|""".stripMargin
}

Expand Down

0 comments on commit 68c5d57

Please sign in to comment.