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
report.warning("[Internal error] unexpected this value when accessing local variable, sym = "+ sym.show +", thisValue = "+ thisValue2.show +Trace.show, Trace.position)
913
943
Hot
@@ -1320,10 +1350,14 @@ object Semantic:
1320
1350
}
1321
1351
1322
1352
case closureDef(ddef) =>
1323
-
Fun(ddef.rhs, thisV, klass)
1353
+
valrhs= ddef.getRhs
1354
+
if rhs.isEmpty thenHot
1355
+
elseFun(rhs, thisV, klass)
1324
1356
1325
1357
casePolyFun(ddef) =>
1326
-
Fun(ddef.rhs, thisV, klass)
1358
+
valrhs= ddef.getRhs
1359
+
if rhs.isEmpty thenHot
1360
+
elseFun(rhs, thisV, klass)
1327
1361
1328
1362
caseBlock(stats, expr) =>
1329
1363
eval(stats, thisV, klass)
@@ -1375,7 +1409,10 @@ object Semantic:
1375
1409
1376
1410
casevdef : ValDef=>
1377
1411
// local val definition
1378
-
eval(vdef.rhs, thisV, klass)
1412
+
valrhs= vdef.getRhs
1413
+
if rhs.isEmpty thenHot
1414
+
else eval(rhs, thisV, klass)
1415
+
1379
1416
1380
1417
caseddef : DefDef=>
1381
1418
// local method
@@ -1593,7 +1630,7 @@ object Semantic:
1593
1630
1594
1631
// class body
1595
1632
if thisV.isThisRef ||!thisV.asInstanceOf[Warm].isPopulatingParams then tpl.body.foreach {
0 commit comments