bug
bug copied to clipboard
Scala 2 bug reports only. Please, no questions — proper bug reports only.
There are some edge cases for the targeting of annotations using the meta-annotations where they are not getting applied correctly for classes defined within traits. According to the scaladocs for...
And it should, because it won't work: ```scala scala> class Meh(val i: Int) extends AnyVal { def q = super.## } defined class Meh scala> new Meh(1).q java.lang.NoSuchMethodError: java.lang.Object.$hash$hash()I at...
I had to look at specific declarations in the macro and examine them individually. Many such errors occurred when trying to examine the akka stream declaration. ```scala def getType(symbol: Symbol):...
```scala scala> case class Foo(i: Int) defined class Foo scala> case class Bar(i: Int) extends AnyVal defined class Bar scala> def f[T x(ProductVal(1)) res1: String = It's an AnyRef ```
Title says it all. Right now you cannot override a lazy val with an object. But I think you should be able to do this, or else you will be...
Optimise `immutable.Queue` so that `head`/`tail` usage pattern does not cause double traversal of `in`. Take the following usage pattern: ```scala var queue: Queue[Int] = ??? while (queue.nonEmpty) { val elem...
A large performance regression on scala 2.12.x in compiling https://github.com/martijnhoekstra/switchbench commit 6b48c3 (contains a large amount of synthesized code) Compile time for 2.11.x 186 seconds, for 2.12.x ~ 1100 seconds...
The ScalaDoc for `scala.PartialFunction.compose` incorrectly limits the parameter type parameter for `g` to the same type parameter as itself. Current: `def compose[A](g: (A) ⇒ A): (A) ⇒ B` | Suggested...
See bug #1 in the context of this mailing list post: http://groups.google.com/group/shapeless-dev/browse_thread/thread/1f26830027f3517 "1. It will not choose the correct implicit function for any type after the first type in the...
The appended error message is seen under -Ylog:typer, but under normal compilation scalac offers nothing. Secondarily, it would be nice if this situation were recognized as the non-conflict which it...