We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a62e113 commit 1aefc73Copy full SHA for 1aefc73
compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -2174,9 +2174,7 @@ object messages {
2174
case class StableIdentPattern(tree: untpd.Tree, pt: Type)(implicit val ctx: Context)
2175
extends Message(StableIdentPatternID) {
2176
override def kind: String = "Syntax"
2177
- override def msg: String = {
2178
- hl"""|Stable identifier required, but ${tree.show} found"""
2179
- }
+ override def msg: String = hl"Stable identifier required, but $tree found"
2180
override def explanation: String = ""
2181
}
2182
0 commit comments