@@ -67,19 +67,19 @@ object Errors {
6767
6868 /** Promote `this` under initialization to fully-initialized */
6969 case class PromoteThis (pot : ThisRef , source : Tree , trace : Vector [Tree ]) extends Error {
70- def show (implicit ctx : Context ): String = " Promote the value under initialization to be initialized."
70+ def show (implicit ctx : Context ): String = " Promote the value under initialization to fully- initialized."
7171 }
7272
7373 /** Promote `this` under initialization to fully-initialized */
7474 case class PromoteWarm (pot : Warm , source : Tree , trace : Vector [Tree ]) extends Error {
7575 def show (implicit ctx : Context ): String =
76- " Promoting the value under initialization to be initialized."
76+ " Promoting the value under initialization to fully- initialized."
7777 }
7878
7979 /** Promote a cold value under initialization to fully-initialized */
8080 case class PromoteCold (source : Tree , trace : Vector [Tree ]) extends Error {
8181 def show (implicit ctx : Context ): String =
82- " Promoting the value " + source.show + " to be initialized while it is under initialization" + " ."
82+ " Promoting the value " + source.show + " to fully- initialized while it is under initialization" + " ."
8383 }
8484
8585 case class AccessCold (field : Symbol , source : Tree , trace : Vector [Tree ]) extends Error {
@@ -105,7 +105,7 @@ object Errors {
105105
106106 def show (implicit ctx : Context ): String = {
107107 var index = 0
108- " Promoting the value to initialized is unsafe.\n " + stacktrace +
108+ " Promoting the value to fully- initialized is unsafe.\n " + stacktrace +
109109 " \n The unsafe promotion may cause the following problem(s):\n " +
110110 (errors.flatMap(_.flatten).map { error =>
111111 index += 1
0 commit comments