Scala Buggabot

Results 171 issues of Scala Buggabot

I was hoping to deprecate a package object ("what? already?") since the whole package has moved and that would be the cleanest way to deprecate the forwarding stubs, but: ```scala...

help wanted
has PR
minimized

This snippet fails with a NPE as expected: ``` class A { class B // 1 } val a: A = null val b = new a.B // 2 ```...

backend
enhancement

```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> @deprecated("Foo is deprecated", "1.0.0") | implicit class Foo(i: Int)...

help wanted
implicit classes
deprecation
implicit

I keep finding that I'm defining the same Scaladoc macros at the beginning of each class/object/trait definition. For instance, I like to use a macro for the name of the...

scaladoc tool
enhancement

Something is up with these; I swear some of them used to warn. Really, I can't spot "Nil == 0" ? ``` scala> val x = scala.collection.mutable.Map[String, List[String]]() withDefaultValue Nil...

lint
enhancement

This is with Scala 2.8.0.RC3 Steps to reproduce: in p/Base.java ```java package p; public class Base { protected void test() { } } ``` in test.scala ```scala trait Ext {...

java interop
access
fixed in Scala 3

This compiles and works in 2.11.8, does not compile in 2.12. ```scala trait Foo extends Any { val self: String } final class Bar(val self: String) extends AnyVal with Foo...

valueclass
should compile
fixed in Scala 3

```scala class M(val t: Int) extends AnyVal { def lazyString = { object X () => X } } ``` ``` error: no-symbol does not have an owner while compiling:...

valueclass
enhancement
fixed in Scala 3

I came across this scalac bug while attempting js.Dynamic.literal(map.toSeq: _*) // Error: applyDynamic does not support passing a vararg parameter It turned out that any call to applyDynamic will bug...

help wanted
varargs
dynamic
enhancement

Proposal: Add a compiler flag that makes it easier to know when an AnyVal allocation occurs. AnyVals can radically improve performance, but allocations can occur in surprising places (removing any...

help wanted
performance
enhancement