Skip to content

Instantly share code, notes, and snippets.

@smarter
Created March 22, 2017 15:32
Show Gist options
  • Save smarter/c854842847e1e4d12794adabee5ad7c0 to your computer and use it in GitHub Desktop.
Save smarter/c854842847e1e4d12794adabee5ad7c0 to your computer and use it in GitHub Desktop.
exception occurred while typechecking try/outerinnerFoo_2.scala
exception occurred while compiling try/outerinnerTest_2.scala, try/outerinnerFoo_2.scala
Exception in thread "main" java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:347)
at scala.None$.get(Option.scala:345)
at dotty.tools.dotc.typer.Typer.localTyper(Typer.scala:1500)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1519)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1577)
at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
at dotty.tools.dotc.typer.Typer$$anonfun$typedClassDef$1.apply(Typer.scala:1324)
at dotty.tools.dotc.typer.Typer$$anonfun$typedClassDef$1.apply(Typer.scala:1275)
at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:1275)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1523)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1577)
at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1618)
at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1638)
at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1438)
at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1425)
at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:1425)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1562)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1578)
at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1629)
at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1638)
at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1438)
at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1425)
at dotty.tools.dotc.util.Stats$.track(Stats.scala:35)
at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:1425)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1562)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1578)
at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1596)
at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1594)
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:136)
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:57)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1594)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1650)
at dotty.tools.dotc.typer.FrontEnd$$anonfun$typeCheck$1.apply$mcV$sp(FrontEnd.scala:64)
at dotty.tools.dotc.typer.FrontEnd.monitor(FrontEnd.scala:32)
at dotty.tools.dotc.typer.FrontEnd.typeCheck(FrontEnd.scala:62)
at dotty.tools.dotc.typer.FrontEnd$$anonfun$runOn$3.apply(FrontEnd.scala:93)
at dotty.tools.dotc.typer.FrontEnd$$anonfun$runOn$3.apply(FrontEnd.scala:93)
at scala.collection.immutable.List.foreach(List.scala:381)
at dotty.tools.dotc.typer.FrontEnd.runOn(FrontEnd.scala:93)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:76)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:73)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply$mcV$sp(Run.scala:73)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:67)
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:67)
at dotty.tools.dotc.util.Stats$.monitorHeartBeat(Stats.scala:76)
at dotty.tools.dotc.Run.compileUnits(Run.scala:67)
at dotty.tools.dotc.Run.compileSources(Run.scala:64)
at dotty.tools.dotc.Run.compile(Run.scala:48)
at dotty.tools.dotc.Driver.doCompile(Driver.scala:26)
at dotty.tools.dotc.Driver.process(Driver.scala:124)
at dotty.tools.dotc.Driver.process(Driver.scala:93)
at dotty.tools.dotc.Driver.process(Driver.scala:105)
at dotty.tools.dotc.Driver.main(Driver.scala:132)
at dotty.tools.dotc.Main.main(Main.scala)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment