bug icon indicating copy to clipboard operation
bug copied to clipboard

Scala 2 bug reports only. Please, no questions — proper bug reports only.

Results 409 bug issues
Sort by recently updated
recently updated
newest added

## Reproduction steps ```scala //> using scala "2.13.11-bin-f3bd333" package foo { trait Baz[A] object Baz { implicit def instance[A]: Baz[A] = ??? } package syntax { object all { implicit...

Currently there is only `ExecutionContextExecutor` which does this, but when a method accepts `ExecutionContext`, then it's not that easy to use it in Java, because In Java, we usually use...

concurrency

There's an issue between Scala 2.13.9 and zio-prelude `1.0.0-RC8-1` (last version published supporting ZIO1) macros: ```scala import zio.prelude.* object LongNatural extends Subtype[Long] { //noinspection TypeAnnotation // IntelliJ annnotation @SuppressWarnings(Array("scalafix:ExplicitResultTypes")) //...

has PR

Because `-nowarn` is "just" setting `-Xmaxwarns 0`, warnings are not displayed but still counted in the reporter. Maybe not a bug? Thoughts welcome. It's an easy fix in `FilteringReporter`. ```scala...

errors and warnings

Issue originally raised in Metals - https://github.com/scalameta/metals/issues/4495 ## Reproduction steps Scala version: 2.13.8, 2.13.9, probably earlier ones too Here's [repo](https://github.com/kpodsiad/package-type) with reproduction. a/package.scala ```scala package object a { type FancyInt...

help wanted
presentation compiler

## Reproduction steps Scala version: 2.13.9 ```scala class C { val xml = def some = xml } ``` ## Problem Warning produced on line 2: `unused value of type...

lint

originally found in https://github.com/typelevel/cats/issues/4304 ## Reproduction steps Scala version: 2.13.9 ```scala //> using scala "2.13.9" //> using options "-Ytasty-reader", "-Ydebug-tasty" //> using lib "org.typelevel:cats-core_3:2.8.0" import cats.syntax.all._ object Main extends App...

tastyreader

## Reproduction steps ```` scala -version # => Scala code runner version 2.12.15 wget https://downloads.lightbend.com/scala/2.12.16/scala-2.12.16.rpm yum install scala-2.12.16.rpm /usr/bin/scala # => file not found scala # => file not found...

help wanted

Haven't tried dotr yet. ``` scala> val vs = new Iterable[Int] { def iterator = Iterator.continually(42) } java.lang.OutOfMemoryError: Java heap space at java.base/java.util.Arrays.copyOf(Arrays.java:3745) at java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:172) at java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:538) at java.base/java.lang.StringBuilder.append(StringBuilder.java:174) at...

repl
has PR

```scala > console [info] Starting scala interpreter... Welcome to Scala 2.12.0-M4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_77). Type in expressions for evaluation. Or try :help. scala> import java.util.stream.Collectors import...

fixed in Scala 3