Skip to content

Commit 7403b66

Browse files
Update compiler/src/dotty/tools/dotc/transform/init/Errors.scala
Fix error message Co-Authored-By: Anatolii Kmetiuk <[email protected]>
1 parent 185ec56 commit 7403b66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/transform/init/Errors.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ object Errors {
8989

9090
case class CallCold(meth: Symbol, source: Tree, trace: Vector[Tree]) extends Error {
9191
def show(implicit ctx: Context): String =
92-
"Call method " + source.show + " on a value under unknown initialization" + "."
92+
"Call method " + source.show + " on a value under unknown initialization status" + "."
9393
}
9494

9595
case class CallUnknown(meth: Symbol, source: Tree, trace: Vector[Tree]) extends Error {
@@ -113,4 +113,4 @@ object Errors {
113113
}.mkString)
114114
}
115115
}
116-
}
116+
}

0 commit comments

Comments
 (0)