Scala Buggabot
Scala Buggabot
Add this to the list of why it's so hard to use an alternative Predef. ```scala package p object Bug { def empty[F[_]] = null type LocalNothing = scala.Nothing def...
```scala Mircos-MacBook-Pro-2:~/tmp$ cat Foo.scala object Foo { def tagVersion = { type TagVersion = { def from(): Option[TagVersion] } null : TagVersion } def foo = tagVersion.from() } ``` ```...
Example: ```scala object D { def aaa = 1 //that’s the reason class Z (depends: Any) case object D1 extends Z(aaa) // 'null' when calling D.D1 first time case object...
This is a regression from 2.10.4, in which the following code compiles. ```scala Welcome to Scala version 2.11.1 (OpenJDK 64-Bit Server VM, Java 1.7.0_55). Type in expressions to have them...
Consider the following code: ```scala object wrap1 { trait A { def n = 3 } } object wrap2 { trait A { def n = 7 } } ```...
This happens when vararg type has type parameters. Both Array and mutable.Seq are invariant. However using Array as an argument in vararg function fails, while mutable.Seq works. ```scala object Main...
``` % tail test/files/run/som/*.{java,scala} ==> test/files/run/som/Java_1.java test/files/run/som/Macros_1.scala ru} val formatterSym = c.universe.symbolOf[bakery.SomeOtherJava] ru.internal.createImporter(c.universe).importSymbol(formatterSym) q"()" } } ==> test/files/run/som/Test_2.scala sandbox/Java_1.java sandbox/test.scala
You probably would label this as an enhancement rather than a defect, but it bit me really hard in conjunction with #4377. ```scala trait Cap trait Op[C
I am constantly having things like: ``` [error] /home/antonkulaga/denigma/processors/main/src/main/scala/org/clulab/swirl2/Reader.scala:173: type arguments [?,Iterable[Any] with Int => Any with scala.collection.generic.Subtractable[_ >: (Int, Int, String) with Int, Iterable[Any] with Int => Any with...
I feel a little guilty about posting this. The code is pretty unreasonable. In any case... The same code compiles in 2.10.4. ```scala class Fields { trait Field { type...