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
no-symbol does not have an owner
at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:48)
at scala.tools.nsc.Global.abort(Global.scala:246)
at scala.reflect.internal.Symbols$NoSymbol.owner(Symbols.scala:3113)
at scala.tools.nsc.backend.icode.Opcodes$opcodes$LOAD_FIELD.<init>(Opcodes.scala:224)
at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:130)
at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:72)
at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:72)
at scala.collection.immutable.List.foreach(List.scala:309)
The text was updated successfully, but these errors were encountered:
@axel22 said (edited on Aug 30, 2012 8:31:36 AM UTC):
Interesting. I didn't know that val s get transformed into def s directly by the compiler sometimes.
@axel22 said:
I'm not sure in which phase a transformation from a val to def takes place (i.e. where simple constants get inlined into the getter accessor), but wherever it's done, the accessed field of the symbol should be reset to NoSymbol. After all, the method definition x below:
The text was updated successfully, but these errors were encountered: