Exception in thread "main" scalac.ApplicationError: no method $eq$eq of required kind among (scala.Any)scala.Bo\
olean at Foo.this.s.type
at scala.tools.scalac.typechecker.RefCheck$class.scala$tools$scalac$typechecker$RefCheck$getUnaryMemberMethod(R\
efCheck.scala:652)
at scala.tools.scalac.typechecker.RefCheck$class.scala$tools$scalac$typechecker$RefCheck$eqOp$0(RefCheck.scala:\
785)
at scala.tools.scalac.typechecker.RefCheck$class.scala$tools$scalac$typechecker$RefCheck$equalsMethod(RefCheck.\
scala:794)
at scala.tools.scalac.typechecker.RefCheck$class.scala$tools$scalac$typechecker$RefCheck$addSyntheticMethods(Re\
fCheck.scala:871)
at scala.tools.scalac.typechecker.RefCheck$class.transform(RefCheck.scala:1031)
at scala.tools.scalac.typechecker.RefCheck$class.transformStat(RefCheck.scala:1014)
at scala.tools.scalac.typechecker.RefCheck$class.transformStats(RefCheck.scala:973)
at scala.tools.scalac.typechecker.RefCheck$class.apply(RefCheck.scala:67)
at scala.tools.scalac.typechecker.RefCheckPhase$class.apply(RefCheckPhase.scala:25)
at scalac.Global.compile(Global.java:390)
at scalac.Global.compile(Global.java:360)
at scala.tools.scalac.Main$.main1(Main.scala:45)
at scala.tools.scalac.Main$.main(Main.scala:28)
at scala.tools.scalac.Main.main(Main.scala:28)
|