Created
December 26, 2010 13:06
-
-
Save teigen/755413 to your computer and use it in GitHub Desktop.
2.8.0 -> 2.8.1 regression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OhNoes.scala:2: error: scala.Symbol.apply("oh") of type Symbol does not take parameters | |
val bug = 'oh('noes) | |
^ | |
one error found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OhNoes.scala:2: error: scala.Symbol.apply("oh") of type Symbol does not take parameters | |
val bug = 'oh('noes) | |
^ | |
Exception in thread "main" java.lang.AssertionError: assertion failed | |
at scala.Predef$.assert(Predef.scala:77) | |
at scala.tools.nsc.ast.TreeGen.gd3$1(TreeGen.scala:130) | |
at scala.tools.nsc.ast.TreeGen.stableTypeFor(TreeGen.scala:127) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$27.apply(Typers.scala:2429) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$27.apply(Typers.scala:2429) | |
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206) | |
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206) | |
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) | |
at scala.collection.immutable.List.foreach(List.scala:45) | |
at scala.collection.TraversableLike$class.map(TraversableLike.scala:206) | |
at scala.collection.immutable.List.map(List.scala:45) | |
at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:2429) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$tryTypedApply$1$1.apply(Typers.scala:3318) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$tryTypedApply$1$1.apply(Typers.scala:3318) | |
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:722) | |
at scala.tools.nsc.typechecker.Typers$Typer.tryTypedApply$1(Typers.scala:3318) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3378) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4049) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2128) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:2196) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:2196) | |
at scala.collection.immutable.List.loop$1(List.scala:115) | |
at scala.collection.immutable.List.mapConserve(List.scala:132) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2196) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1549) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1348) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3856) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2128) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:2196) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:2196) | |
at scala.collection.immutable.List.loop$1(List.scala:115) | |
at scala.collection.immutable.List.mapConserve(List.scala:132) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2196) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3849) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) | |
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4252) | |
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:85) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply(Global.scala:282) | |
at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply(Global.scala:282) | |
at scala.tools.nsc.reporters.Reporter.withSource(Reporter.scala:48) | |
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:282) | |
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:80) | |
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:80) | |
at scala.collection.Iterator$class.foreach(Iterator.scala:631) | |
at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:304) | |
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:80) | |
at scala.tools.nsc.Global$Run.compileSources(Global.scala:741) | |
at scala.tools.nsc.Global$Run.compile(Global.scala:822) | |
at scala.tools.nsc.Main$.process(Main.scala:106) | |
at scala.tools.nsc.Main$.main(Main.scala:120) | |
at scala.tools.nsc.Main.main(Main.scala) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object OhNoes { | |
val bug = 'oh('noes) | |
println(bug.presentYourself) // triggers the bug | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment