Scala Buggabot

Results 171 issues of Scala Buggabot

```scala Welcome to Scala 2.12.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_102). Type in expressions for evaluation. Or try :help. scala> val (a, b) = (getClass, getClass) :11: warning: inferred...

infer
existential
fixed in Scala 3

Scalac 2.12 got an assertion failure compiling the following code snippet. It seems to be a recent regression since scalac version 2.11.8 can compile the code. The case is generated...

should not compile
backend
compiler crash

The wrong forkJoinPool is used in the following example: ```scala implicit val someForkJoinPoolExecutionContext = ... val otherForkJoinPoolEC = ... val someCollection = ... def foo() { // Future runs in...

Firstly, the following codes compile fine while run with exception: ```scala scala> import scala.collection.SeqLike import scala.collection.SeqLike scala> val xs: SeqLike[Char, String] = "abcdef" xs: scala.collection.SeqLike[Char,String] = abcdef scala> xs match...

patmat
enhancement

```scala class A(val y: Int) class B(y: Int) extends A(y) { def yy = y } class C extends B(0) { override val y = -1 } object Test {...

fixed in Scala 3

Since it is not going down without a fight, ticket time. Adriaan observed that Array matching is being done covariantly. So is isInstanceOf it turns out. The following prints "1...

patmat

https://gist.github.com/2943283 ```scala class Indirection[T](implicit val c: CompanionProvider[T]) { def indirect: c.CompanionT = c.provide } // error: value foo is not a member of _1.c.CompanionT new Indirection[Foo].indirect.foo ``` this doesn't work...

infer
dependent types
enhancement
fixed in Scala 3

With Scalac 2.10, the use of any objects, class or method annotaded with the com.unboundid.util.ThreadSafetyLevel leads to java.lang.AssertionError. For example, the following file Test.scala: ```scala import com.unboundid.ldap.sdk.Entry object Test extends...

annotations
typer

Here is a minimal test case that shows the problem: ```scala trait Main { trait A { type B } trait C { def c(a: A, x: Int = 0)(b:...

infer
dependent types

``-level headings (i.e. those created by =Heading= wiki-style markup) in the body of Scaladoc-generated HTML have a spurious indent from the left. This does not appear to serve any purpose,...

scaladoc tool