Skip to content

Commit 7d183a0

Browse files
Update compiler/src/dotty/tools/dotc/reporting/messages.scala
Co-authored-by: Fengyun Liu <[email protected]>
1 parent 95e2dc2 commit 7d183a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/reporting/messages.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ import ast.tpd
528528
|Only fields can be left uninitialized in this manner; local variables
529529
|must be initialized.
530530
|
531-
|Another occurrence for this error is defining a val with self type.
531+
|Another occurrence for this error is self type definition.
532532
|The ${hl("_")} can be replaced with ${hl("this")}.
533533
|
534534
|Example before:
@@ -2422,4 +2422,4 @@ import ast.tpd
24222422
|The variable does not occur in the signature of ${hl(owner)}.
24232423
|""".stripMargin
24242424
def explain = ""
2425-
}
2425+
}

0 commit comments

Comments
 (0)