bug
bug copied to clipboard
Scala 2 bug reports only. Please, no questions — proper bug reports only.
A bad cli option should hard exit. Instead the bad option is interpreted as a source file containing documentable content. ```scala 11:16 $ ./scaladoc -h scaladoc error: bad option: '-h'...
## Questions are not bug reports "What the -- ??" ## Reproduction steps Scala version: 2.13.13 ```scala class Escapes { s"""aaa \s bbb""" } ``` ## Problem Correctly errors with...
The difference between concat (`#:::`) and append (`++`) on streams should be documented more clearly. The append method does say that `++` works in very subtle ways, but it breaks...
## reproduction steps https://www.scala-lang.org/api/current/scala/collection/mutable/Stack.html sorts `top` after `toVector` as reported on https://contributors.scala-lang.org/t/scaladoc-ordering/4503 ## problem This is sorted in ASCII order rather than alphabetical. I suspect a quick fix is possible...
Follow-up for https://github.com/scala/bug/issues/12975. The example doesn't compile with 2.13.13 under `-Xsource:3-cross` (`-Xsource-features:infer-override` on 2.13.14). The inferred type for `final val companion = Editor` is taken from the parent. It compiles...
## Reproduction steps Scala version: 2.13.13 I'm filing this as distinct from https://github.com/scala/bug/issues/12965 and other similar issues as both the type in `mkAttributedQualifier` is distinct from tuple type parameters and...
## Reproduction steps On scala 2.13.13 (scala 3 infers correctly) ```scala package style object bug { private[style] trait Style private[style] class StyleSheet private (private val stylesByType: Map[Class[? style)) } }...
``` $ scala -nc Welcome to Scala 2.13.0 (OpenJDK 64-Bit Server VM, Java 11.0.3). Type in expressions for evaluation. Or try :help. scala> 42 warning: -nc is deprecated: scripts use...
`scala.util.Exception.Catch` is obviously a functor, but it's missing the corresponding `map` implementation: ```scala def map[S](f: T => S): Catch[S] = new Catch(this.pf andThen f, this.fin, this.rethrow); ``` This is useful...
What else should be omitted? Targetting to 2.11 for reasons of binary compatibility.