Scala Buggabot
Scala Buggabot
in trunk as of april 22 2010: ```scala scala.swing.Window: 37 override def contents_=(c: Component) { 38 super.contents_=(c) 39 peer.pack() // pack also validates, which is generally required after an add...
The following code prints 0, the length of the menu's contents field, but it should be 1. It is also impossible to access the elements in contents. It is interesting...
```scala > console [info] Starting scala interpreter... Welcome to Scala 2.12.0-M4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_77). Type in expressions for evaluation. Or try :help. scala> import java.util.stream.Collectors import...
The word "tail" appears only twice in the SLS, both as method names in example 5.3.3. So it appears that the current (rather delicate!) behaviour of tail recursion is in...
Here is a snippet to illustrate the problem: ```scala class Foo[A] { def compose(a: Foo[A]): Foo[A] = new Foo[A] def compose(b: Bar[A]): Bar[A] = new Bar[A] // non overloaded method...
The compiler rejects code which should be perfectly valid. Using type ascription to upcast the value is a workaround for this. ```scala sealed trait Key case object SilverKey extends Key...
Sometimes it's necessary to pass parameters to macros untyped (e.g. if a parameter is a closure that refers to variables that are introduced by a macro). However, current implementation doesn't...
(No description for SI-5920.)
I am not sure if this is only Predef.String. There may be other classes having the same issue. This bug means we have to always use =:=, instead of ==...
```scala object Test { class Foo[A, B] { def bar[T](v: A => A = (identity _)) = Unit // 2.10 => OK // 2.11 => OK def bar[T](v: A =>...