You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arg.value.promote("Cannot prove the method argument is hot. Only hot values are safe to leak.\nFound = "+ arg.value.show +".")
1151
+
arg.value.promote("Could not verify that the method argument is transitively initialized (Hot). It was found to be "+ arg.value.show +". Only transitively initialized arguments may be passed to methods outside the analyzed initialization region.")
1148
1152
}
1149
1153
1150
1154
/** Evaluate an expression with the given value for `this` in a given class `klass`
@@ -1285,12 +1289,12 @@ object Semantic:
1285
1289
eval(qual, thisV, klass)
1286
1290
valres= eval(rhs, thisV, klass)
1287
1291
extendTrace(expr) {
1288
-
res.ensureHot("The RHS of reassignment must be hot. Found ="+ res.show +". ")
1292
+
res.ensureHot("The RHS of reassignment must be transitively initialized (Hot). It was found to be"+ res.show +". ")
1289
1293
}
1290
1294
caseid: Ident=>
1291
1295
valres= eval(rhs, thisV, klass)
1292
1296
extendTrace(expr) {
1293
-
res.ensureHot("The RHS of reassignment must be hot. Found ="+ res.show +". ")
1297
+
res.ensureHot("The RHS of reassignment must be transitively initialized (Hot). It was found to be"+ res.show +". ")
1294
1298
}
1295
1299
1296
1300
case closureDef(ddef) =>
@@ -1313,14 +1317,14 @@ object Semantic:
1313
1317
caseMatch(selector, cases) =>
1314
1318
valres= eval(selector, thisV, klass)
1315
1319
extendTrace(selector) {
1316
-
res.ensureHot("The value to be matched needs to be hot. Found ="+ res.show +". ")
1320
+
res.ensureHot("The value to be matched needs to be transitively initialized (Hot). It was found to be"+ res.show +". ")
1317
1321
}
1318
1322
eval(cases.map(_.body), thisV, klass).join
1319
1323
1320
1324
caseReturn(expr, from) =>
1321
1325
valres= eval(expr, thisV, klass)
1322
1326
extendTrace(expr) {
1323
-
res.ensureHot("return expression must be hot. Found ="+ res.show +". ")
1327
+
res.ensureHot("return expression must be transitively initialized (Hot). It was found to be"+ res.show +". ")
0 commit comments