what happened |
scalac -d target pm3.scala
exception when traversing ((x$0: Any) => x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+(a\
))
})
exception when traversing scala.actors.Actor.react(((x$0: Any) => x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+(a\
))
}))
exception when traversing final def apply(): Nothing = scala.actors.Actor.react(((x$0: Any) => x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+(a\
))
}))
exception when traversing java.lang.Object with () => Nothing with ScalaObject def this(): template $anonfun = \
{
$anonfun.super.this();
()
};
final def apply(): Nothing = scala.actors.Actor.react(((x$0: Any) => x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+\
(a))
}))
}
exception when traversing @serializable final class $anonfun extends java.lang.Object with () => Not\
hing with ScalaObject
def this(): template $anonfun = {
$anonfun.super.this();
()
};
final def apply(): Nothing = scala.actors.Actor.react(((x$0: Any) => x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+\
(a))
}))
}
exception when traversing {
@serializable final class $anonfun extends java.lang.Object with () => Nothing with ScalaObject
def this(): template $anonfun = {
$anonfun.super.this();
()
};
final def apply(): Nothing = scala.actors.Actor.react(((x$0: Any) => x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping "\
.+(a))
}))
};
(new template $anonfun()) : () => Nothing
}
exception when traversing scala.actors.Actor.actor(scala.actors.Actor.react(((x$0: Any) => x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+(a\
))
})))
exception when traversing private[this] val pong: scala.actors.Actor = scala.actors.Actor.actor(scala.actors.Act\
or.react(((x$0: Any) => x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+(a\
))
})))
exception when traversing java.lang.Object with ScalaObject
def this(): object pm.Proto = {
Proto.super.this();
()
};
private[this] val pong: scala.actors.Actor = scala.actors.Actor.actor(scala.actors.Actor.react(((x$0: Any) => \
x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+\
(a))
})));
def pong: scala.actors.Actor = Proto.this.pong
}
exception when traversing final class Proto extends java.lang.Object with ScalaObject
def this(): object pm.Proto = {
Proto.super.this();
()
};
private[this] val pong: scala.actors.Actor = scala.actors.Actor.actor(scala.actors.Actor.react(((x$0: Any) => \
x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping ".+\
(a))
})));
def pong: scala.actors.Actor = Proto.this.pong
}
exception when traversing package pm {
abstract class Msg extends java.lang.Object with ScalaObject
def this(): pm.Msg = {
Msg.super.this();
()
}
};
@serializable case class MsgPing extends Msg with ScalaObject with Product
private[this] val a: Int = _;
def a: int = MsgPing.this.a;
def this(a: Int): pm.MsgPing = {
MsgPing.super.this();
()
};
final override def $tag(): Int = 1594449282;
override def hashCode(): Int = ScalaRunTime.this._hashCode(MsgPing.this);
override def toString(): String = ScalaRunTime.this._toString(MsgPing.this);
override def equals(x$1: Any): Boolean = x$1.eq(MsgPing.this).||(x$1.isInstanceOf[pm.MsgPing].&&(ScalaRunTim\
e.this._equals(MsgPing.this, x$1)));
final override def productPrefix: java.lang.String = "MsgPing";
final override def productArity: Int = 1;
final override def productElement(x$1: Int): Any = x$1 match {
case 0 => a
case _ => throw new java.lang.IndexOutOfBoundsException(x$1.toString())
}
};
final class MsgPing1 extends java.lang.Object with ScalaObject
def this(): object pm.MsgPing1 = {
MsgPing1.super.this();
()
};
def unapply(m: pm.MsgPing): Some[int] = new Some[Int](m.a)
};
final class Proto extends java.lang.Object with ScalaObject
def this(): object pm.Proto = {
Proto.super.this();
()
};
private[this] val pong: scala.actors.Actor = scala.actors.Actor.actor(scala.actors.Actor.react(((x$0: Any) =\
> x$0 match {
case pm.this.MsgPing1.unapply() ((a @ _)) => scala.this.Predef.println("ping "\
.+(a))
})));
def pong: scala.actors.Actor = Proto.this.pong
}
}
Exception in thread "main" java.lang.Error: unexpected tree: pm.this.MsgPing1.unapply() ((a @ _))
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:2628)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2648)
at scala.tools.nsc.typechecker.Typers$Typer.typedPattern(Typers.scala:2709)
at scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:1268)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$48.apply(Typers.scala:1291)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$48.apply(Typers.scala:1290)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.typechecker.Typers$Typer.typedCases(Typers.scala:1290)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:2488)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2648)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2692)
at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:2739)
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:1174)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:2422)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2648)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2681)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$0(Typers.scala:1396)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$58.apply(Typers.scala:1426)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$58.apply(Typers.scala:1426)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1426)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1056)
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:946)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:2413)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2648)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2681)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$0(Typers.scala:1396)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$58.apply(Typers.scala:1426)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$58.apply(Typers.scala:1426)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1426)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1254)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:2443)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2648)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2681)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transformFunction(UnCurry.scala:285)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:445)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$29.apply(Trees.scala:1296)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$29.apply(Trees.scala:1296)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.ast.Trees$Transformer.transformTrees(Trees.scala:1296)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$13.apply(UnCurry.scala:414)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$13.apply(UnCurry.scala:412)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.withNeedLift$0(UnCurry.scala:343)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:412)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$25.apply(Trees.scala:1207)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$25.apply(Trees.scala:1206)
at scala.tools.nsc.ast.Trees$Transformer.atOwner(Trees.scala:1320)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1205)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:46)\
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.scala$tools$nsc$transform$UnCurry$UnCurryTransfo\
rmer$$super$transform(UnCurry.scala:373)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$5.apply(UnCurry.scala:373)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$5.apply(UnCurry.scala:359)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.withNeedLift$0(UnCurry.scala:343)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:358)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$35.apply(Trees.scala:1314)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$35.apply(Trees.scala:1312)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.List$.loop$0(List.scala:247)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.ast.Trees$Transformer.transformStats(Trees.scala:1312)
at scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1226)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.scala$tools$nsc$transform$TypingTransf\
ormers$TypingTransformer$$super$transform(TypingTransformers.scala:44)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer$$anonfun$0.apply(TypingTransformers.sc\
ala:44)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer$$anonfun$0.apply(TypingTransformers.sc\
ala:44)
at scala.tools.nsc.ast.Trees$Transformer.atOwner(Trees.scala:1320)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:44)\
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.scala$tools$nsc$transform$UnCurry$UnCurryTransfo\
rmer$$super$transform(UnCurry.scala:373)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$16.apply(UnCurry.scala:448)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$16.apply(UnCurry.scala:448)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.withInConstructorFlag$0(UnCurry.scala:351)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:448)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer.transformTemplate(Trees.scala:1298)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$22.apply(Trees.scala:1194)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$22.apply(Trees.scala:1194)
at scala.tools.nsc.ast.Trees$Transformer.atOwner(Trees.scala:1320)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1193)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:46)\
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:451)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$35.apply(Trees.scala:1314)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$35.apply(Trees.scala:1312)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.ast.Trees$Transformer.transformStats(Trees.scala:1312)
at scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1228)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:46)\
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:451)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$29.apply(Trees.scala:1296)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$29.apply(Trees.scala:1296)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.ast.Trees$Transformer.transformTrees(Trees.scala:1296)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$13.apply(UnCurry.scala:414)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$13.apply(UnCurry.scala:412)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.withNeedLift$0(UnCurry.scala:343)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:412)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$24.apply(Trees.scala:1202)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$24.apply(Trees.scala:1202)
at scala.tools.nsc.ast.Trees$Transformer.atOwner(Trees.scala:1320)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1201)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:46)\
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.scala$tools$nsc$transform$UnCurry$UnCurryTransfo\
rmer$$super$transform(UnCurry.scala:373)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$8.apply(UnCurry.scala:379)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$8.apply(UnCurry.scala:379)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.withNeedLift$0(UnCurry.scala:343)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:379)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$35.apply(Trees.scala:1314)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$35.apply(Trees.scala:1312)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.List$.loop$0(List.scala:247)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.ast.Trees$Transformer.transformStats(Trees.scala:1312)
at scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1226)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.scala$tools$nsc$transform$TypingTransf\
ormers$TypingTransformer$$super$transform(TypingTransformers.scala:44)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer$$anonfun$0.apply(TypingTransformers.sc\
ala:44)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer$$anonfun$0.apply(TypingTransformers.sc\
ala:44)
at scala.tools.nsc.ast.Trees$Transformer.atOwner(Trees.scala:1320)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:44)\
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.scala$tools$nsc$transform$UnCurry$UnCurryTransfo\
rmer$$super$transform(UnCurry.scala:373)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$16.apply(UnCurry.scala:448)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer$$anonfun$16.apply(UnCurry.scala:448)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.withInConstructorFlag$0(UnCurry.scala:351)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:448)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer.transformTemplate(Trees.scala:1298)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$22.apply(Trees.scala:1194)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$22.apply(Trees.scala:1194)
at scala.tools.nsc.ast.Trees$Transformer.atOwner(Trees.scala:1320)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1193)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:46)\
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:451)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$35.apply(Trees.scala:1314)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$35.apply(Trees.scala:1312)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.List$.loop$0(List.scala:247)
at scala.List$.mapConserve(List.scala:260)
at scala.List$.loop$0(List.scala:247)
at scala.List$.mapConserve(List.scala:260)
at scala.List$.loop$0(List.scala:247)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.ast.Trees$Transformer.transformStats(Trees.scala:1312)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$21.apply(Trees.scala:1190)
at scala.tools.nsc.ast.Trees$Transformer$$anonfun$21.apply(Trees.scala:1190)
at scala.tools.nsc.ast.Trees$Transformer.atOwner(Trees.scala:1320)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:33)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.atOwner(TypingTransformers.scala:27)
at scala.tools.nsc.ast.Trees$Transformer.transform(Trees.scala:1189)
at scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:46)\
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.mainTransform(UnCurry.scala:451)
at scala.tools.nsc.transform.UnCurry$UnCurryTransformer.transform(UnCurry.scala:103)
at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:1315)
at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30) at scala.tools.nsc.Global$\
GlobalPhase.applyPhase(Global.scala:241)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$2.apply(Global.scala:230)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$2.apply(Global.scala:230)
at scala.Iterator$class.foreach(Iterator.scala:369)
at scala.collection.mutable.ListBuffer$$anon$0.foreach(ListBuffer.scala:245)
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:230)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:498)
at scala.tools.nsc.Global$Run.compile(Global.scala:572)
at scala.tools.nsc.Main$.process(Main.scala:57)
at scala.tools.nsc.Main$.main(Main.scala:77)
at scala.tools.nsc.Main.main(Main.scala)
|