We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf4dc4 commit 883adb2Copy full SHA for 883adb2
compiler/src/dotty/tools/dotc/transform/init/Effects.scala
@@ -61,7 +61,7 @@ object Effects {
61
extension (eff: Effect) def toEffs: Effects = Effects.empty + eff
62
63
def asSeenFrom(eff: Effect, thisValue: Potential)(implicit env: Env): Effect =
64
- trace(eff.show + " asSeenFrom " + thisValue.show + ", current = " + currentClass.show, init, effs => show(effs.asInstanceOf[Effects])) { eff match {
+ trace(eff.show + " asSeenFrom " + thisValue.show + ", current = " + currentClass.show, init, eff => show(Effects.empty + eff.asInstanceOf[Effect])) { eff match {
65
case Promote(pot) =>
66
val pot1 = Potentials.asSeenFrom(pot, thisValue)
67
Promote(pot1)(eff.source)
0 commit comments