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
Scalac 2.12 got a fatal error compiling the following code snippet.
$ scalac -version
Scala compiler version 2.12.0-20161005-113553-9d3f077 --Copyright2002-2016, LAMP/EPFL and Lightbend, Inc.
$ scalac abc.scala
error: scala.reflect.internal.FatalError:objectList does not have a member apply
at scala.reflect.internal.Definitions$DefinitionsClass.fatalMissingSymbol(Definitions.scala:1239)
at scala.reflect.internal.Definitions$DefinitionsClass.$anonfun$getMember$1(Definitions.scala:1262)
at scala.reflect.internal.Symbols$Symbol.orElse(Symbols.scala:2493)
at scala.reflect.internal.Definitions$DefinitionsClass.getMember(Definitions.scala:1257)
at scala.reflect.internal.Definitions$DefinitionsClass.getMemberMethod(Definitions.scala:1291)
at scala.reflect.internal.Definitions$DefinitionsClass.List_apply(Definitions.scala:444)
at scala.reflect.internal.Definitions$DefinitionsClass$RunDefinitions.List_apply$lzycompute(Definitions.scala:1506)
at scala.reflect.internal.Definitions$DefinitionsClass$RunDefinitions.List_apply(Definitions.scala:1506)
at scala.tools.nsc.typechecker.Typers$Typer.handleMonomorphicCall$1(Typers.scala:3565)
at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$doTypedApply$30(Typers.scala:3571)
at scala.tools.nsc.typechecker.TypeDiagnostics$TyperDiagnostics$checkDead$.updateExpr(TypeDiagnostics.scala:575)
at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3571)
at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4647)
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4681)
at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5447)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5464)
at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5500)
at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5530)
at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5474)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5478)
at scala.tools.nsc.typechecker.Typers$Typer.typedByValueExpr(Typers.scala:5559)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:3058)
at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$8(Typers.scala:3187)
at scala.collection.immutable.List.loop$1(List.scala:173)
at scala.collection.immutable.List.mapConserve(List.scala:189)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3187)
at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2439)
at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$91(Typers.scala:5422)
at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typerWithLocalContext$1(Typers.scala:490)
at scala.tools.nsc.typechecker.Contexts$ContextReporter.propagatingErrorsTo(Contexts.scala:1255)
at scala.tools.nsc.typechecker.Typers$Typer.typerWithLocalContext(Typers.scala:490)
at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:5422)
at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5457)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5464)
at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5500)
at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5530)
at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5474)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5478)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5555)
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2264)
at scala.tools.nsc.typechecker.Typers$Typer.typedMemberDef$1(Typers.scala:5412)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5463)
at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5500)
at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5530)
at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5474)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5478)
at scala.tools.nsc.typechecker.Typers$Typer.typedByValueExpr(Typers.scala:5559)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:3058)
at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$8(Typers.scala:3187)
at scala.collection.immutable.List.loop$1(List.scala:173)
at scala.collection.immutable.List.mapConserve(List.scala:189)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3187)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1975)
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1799)
at scala.tools.nsc.typechecker.Typers$Typer.typedMemberDef$1(Typers.scala:5413)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5463)
at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5500)
at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5530)
at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5474)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5478)
at scala.tools.nsc.typechecker.Typers$Typer.typedByValueExpr(Typers.scala:5559)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:3058)
at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$8(Typers.scala:3187)
at scala.collection.immutable.List.loop$1(List.scala:173)
at scala.collection.immutable.List.mapConserve(List.scala:189)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3187)
at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5113)
at scala.tools.nsc.typechecker.Typers$Typer.typedMemberDef$1(Typers.scala:5416)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5463)
at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5500)
at scala.tools.nsc.typechecker.Typers$Typer.typedInternal(Typers.scala:5530)
at scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5474)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5478)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5555)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:102)
at scala.tools.nsc.Global$GlobalPhase.$anonfun$applyPhase$1(Global.scala:402)
at scala.tools.nsc.Global$GlobalPhase.withCurrentUnitNoLog(Global.scala:395)
at scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:386)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:402)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.$anonfun$run$1(Analyzer.scala:94)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.$anonfun$run$1$adapted(Analyzer.scala:93)
at scala.collection.Iterator.foreach(Iterator.scala:932)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:93)
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1404)
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1389)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1384)
at scala.tools.nsc.Global$Run.compile(Global.scala:1478)
at scala.tools.nsc.Driver.doCompile(Driver.scala:35)
at scala.tools.nsc.MainClass.doCompile(Main.scala:24)
at scala.tools.nsc.Driver.process(Driver.scala:55)
at scala.tools.nsc.Driver.main(Driver.scala:68)
at scala.tools.nsc.Main.main(Main.scala)
$ cat abc.scala
packagescala . collection . immutableclassList { @Testdeftest_SI6519 { var<==0valsideEffectingIterator=newIterator [ Int ] { defhasNext= readAttempt assertEquals 65536defIgnore= { SeqclassOf1 ;
readAttempt } }
assert ( JUnit4<=4096 ) } }
The text was updated successfully, but these errors were encountered:
Scalac 2.12 got a fatal error compiling the following code snippet.
The text was updated successfully, but these errors were encountered: