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
The following appeared in 2.10.0-RC1 in the Akka build (was not present in 2.10.0-M7):
[warn] /Users/rkuhn/comp/akka/akka-actor/src/main/scala/akka/actor/dungeon/Children.scala:124: fruitless typetest: a value of typeakka.actor.dungeon.ChildrenContainer.SuspendReason cannot also be a akka.actor.dungeon.ChildrenContainer.WaitingForChildren
[warn] caseTerminatingChildrenContainer(_, _, w: WaitingForChildren) ⇒ w
[warn] ^
My attempts at minimizing it have not been successful: I found that I can sometimes provoke it with the following two files in Eclipse, seeing the warning from the PC (i.e. not the build compiler), and the warning then goes away after a clean build:
@paulp said:
Based on that characterization I think it's only going to need a .initialize somewhere. isSealed tells lies if the symbol isn't initialized yet. Or there may be a deeper problem with sealed tracking, such that it is giving me an incomplete set of children. Or, there could just be a regular bug which is actually my fault, but obviously that is the least likely scenario.
The following appeared in 2.10.0-RC1 in the Akka build (was not present in 2.10.0-M7):
You can see the full file here: https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/actor/dungeon/Children.scala#L124
And the traits/classes involved are defined here: https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/actor/dungeon/ChildrenContainer.scala#L45
My attempts at minimizing it have not been successful: I found that I can sometimes provoke it with the following two files in Eclipse, seeing the warning from the PC (i.e. not the build compiler), and the warning then goes away after a clean build:
Having all within the same file never triggered the warning for me.
The text was updated successfully, but these errors were encountered: