File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/reporting/diagnostic Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ object messages {
196196 pt : Type )
197197 (implicit ctx : Context )
198198 extends Message (AnonymousFunctionMissingParamTypeID ) {
199- val kind : String = " Syntax "
199+ val kind : String = " Type "
200200
201201 val msg : String = {
202202 val ofFun =
@@ -2298,7 +2298,7 @@ object messages {
22982298 }
22992299 case class StableIdentPattern (tree : untpd.Tree , pt : Type )(implicit val ctx : Context )
23002300 extends Message (StableIdentPatternID ) {
2301- override def kind : String = " Syntax "
2301+ override def kind : String = " Type "
23022302 override def msg : String =
23032303 em """ Stable identifier required, but $tree found """
23042304 override def explanation : String = " "
@@ -2392,7 +2392,7 @@ object messages {
23922392
23932393 case class IllegalCyclicTypeReference (sym : Symbol , where : String , lastChecked : Type )(implicit val ctx : Context )
23942394 extends Message (IllegalCyclicTypeReferenceID ) {
2395- val kind : String = " Type "
2395+ val kind : String = " Cyclic "
23962396 val msg : String = i " illegal cyclic type reference: ${where} ${hl(lastChecked.show)} of $sym refers back to the type itself "
23972397 val explanation : String = " "
23982398 }
You can’t perform that action at this time.
0 commit comments