@@ -67,19 +67,19 @@ object Errors {
67
67
68
68
/** Promote `this` under initialization to fully-initialized */
69
69
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."
71
71
}
72
72
73
73
/** Promote `this` under initialization to fully-initialized */
74
74
case class PromoteWarm (pot : Warm , source : Tree , trace : Vector [Tree ]) extends Error {
75
75
def show (implicit ctx : Context ): String =
76
- " Promoting the value under initialization to be initialized."
76
+ " Promoting the value under initialization to fully- initialized."
77
77
}
78
78
79
79
/** Promote a cold value under initialization to fully-initialized */
80
80
case class PromoteCold (source : Tree , trace : Vector [Tree ]) extends Error {
81
81
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" + " ."
83
83
}
84
84
85
85
case class AccessCold (field : Symbol , source : Tree , trace : Vector [Tree ]) extends Error {
@@ -105,7 +105,7 @@ object Errors {
105
105
106
106
def show (implicit ctx : Context ): String = {
107
107
var index = 0
108
- " Promoting the value to initialized is unsafe.\n " + stacktrace +
108
+ " Promoting the value to fully- initialized is unsafe.\n " + stacktrace +
109
109
" \n The unsafe promotion may cause the following problem(s):\n " +
110
110
(errors.flatMap(_.flatten).map { error =>
111
111
index += 1
0 commit comments