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
% scalac29 -version
Scala compiler version 2.9.0.r23890-b20110103193501 --Copyright2002-2010, LAMP/EPFL% scalac29 0106.scala
Exception in thread "main" java.lang.AssertionError: assertion failed: method f
at scala.Predef$$.assert(Predef.scala:99)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$scala$$tools$$nsc$$transform$$Mixin$$$$rebindSuper$$1.apply(Mixin.scala:110)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$scala$$tools$$nsc$$transform$$Mixin$$$$rebindSuper$$1.apply(Mixin.scala:95)
at scala.tools.nsc.symtab.SymbolTable.atPhase(SymbolTable.scala:96)
at scala.tools.nsc.transform.Mixin.scala$$tools$$nsc$$transform$$Mixin$$$$rebindSuper(Mixin.scala:95)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$mixinTraitMembers$$1$$1.apply(Mixin.scala:325)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$mixinTraitMembers$$1$$1.apply(Mixin.scala:278)
at scala.collection.LinearSeqOptimized$$class.foreach(LinearSeqOptimized.scala:61)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.tools.nsc.transform.Mixin.mixinTraitMembers$$1(Mixin.scala:278)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$addMixedinMembers$$3.apply(Mixin.scala
Not that the version is super relevant. Even the line numbers are stable.
% scalac26 -version
Scala compiler version 2.6.1-final-- (c) 2002-2007LAMP/EPFL% scalac26 0106.scala
Exception in thread "main" java.lang.AssertionError: assertion failed: method f
at scala.Predef$$.assert(Predef.scala:96)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$scala$$tools$$nsc$$transform$$Mixin$$$$rebindSuper$$1.apply(Mixin.scala:111)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$scala$$tools$$nsc$$transform$$Mixin$$$$rebindSuper$$1.apply(Mixin.scala:96)
at scala.tools.nsc.symtab.SymbolTable.atPhase(SymbolTable.scala:89)
at scala.tools.nsc.transform.Mixin.scala$$tools$$nsc$$transform$$Mixin$$$$rebindSuper(Mixin.scala:96)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$mixinTraitMembers$$1$$1.apply(Mixin.scala:257)
at scala.tools.nsc.transform.Mixin$$$$anonfun$$mixinTraitMembers$$1$$1.apply(Mixin.scala:224)
The text was updated successfully, but these errors were encountered:
@som-snytt said:
I took a look and submitted pull request 359.
This commit just changes the assert on a bad abstract super.m to a compiler error. Probably it's the not that simple, right? In this case, review (and rejection) is easy; but if it weren't, should I ask on scala-internals or on the jira ticket? By way of not wasting people's time? I was just looking for small bugs as an excuse to look at code.
This is a great learning experience, but in mid-learning-curve, I don't have a lot of visibility into the code or even a feeling that I'm not doing something dumb or, worse, counter-productive.
Needless to add, test suite passes and collaborator license agreement is verified.
@paulp said:
scala-internals is the best because a lot of people might respond there, and here you have a potential audience of about five. The patch looks like an improvement, except we don't use Option[Symbol]; that's what NoSymbol is for. It's in develop along with a patch from me addressing that.
Not that the version is super relevant. Even the line numbers are stable.
The text was updated successfully, but these errors were encountered: