Scala Buggabot

Results 171 issues of Scala Buggabot

There are some conditions where parameter captured by secondary constructors generate ambiguous bytecode. Such as in the following example where the default constructor receives an Int parameter and the secondary...

bytecode

I noticed this loophole when perusing `fixDuplicateSyntheticParents` in `Typers`. ``` scala> trait T[A] defined trait T scala> abstract class C(i: Int) extends T[Int] with T[String] :8: error: illegal inheritance; self-type...

should not compile

The attached sample code compiles fine in Scala 2.11.7 and Scala 2.10.3 (Scala 2.9.3 warns that "TestMain.scala:9: error: scrutinee is incompatible with pattern type") - even with `-unchecked -deprecation -feature...

patmat

Scala does not have any way of placing annotations on a package. In Java, package annotations are placed before the `package` statement in a Java source file named `package-info.java`. The...

annotations
language spec
enhancement

Let's audit the wrappers we have in the std lib to make sure the behavior is consistent wrt a regular call on wrapped objects == null. Follow up for https://github.com/scala/scala/pull/4343

library

Given a `protected[this]` method and a subtype overriding its declaration to make access public, the widening of access isn't applied to the specialized declarations. ```scala trait QuitePrivate[@specialized(Int) +K] { protected[this]...

help wanted
has PR
specialization

Test.scala ```scala package p object O { Test.foo() } ``` Test.java ```scala package p; public class Test { public static p.O$ foo() { return null; } } ``` ``` $...

java interop

Dispatch user reported this bug: https://github.com/n8han/Databinder-Dispatch/issues/33 Dispatch is using the load method of the XML singleton object from potentially many threads. The stack trace suggests that the the static method...

I'm not quite sure whether this is a bug or intended behavior: A Publisher automatically listens to itself, "for convenience". For a Component, this call to listenTo() calls Publisher's subscribe,...

help wanted
Needs confirmation

I miss the GroupPanel (Scala 2.8 RC1). So I have implemented a first simple version. It does not yet offer all features of GroupPanel, but you can write some gui...

enhancement