bug
bug copied to clipboard
Scala 2 bug reports only. Please, no questions — proper bug reports only.
The Scaladoc for `Boolean.&&` and `Boolean.||` does not list the arguments as by-name (=>).
as per https://github.com/lampepfl/dotty/issues/11972#issuecomment-812253271 , in Scala 3 the Java style accessors only work from Java
## Reproduction steps ```scala class Foo { def Bar: Double = 2.0 def Baz: Double = 1.0 } object Bar { def higherOrder2(f: Foo => Double, s: String): Nothing =...
## Reproduction steps ```scala //> using scala 2.13.12 //> using dep com.github.fd4s:fs2-kafka_2.13:1.11.0 import scala.concurrent.ExecutionContext import cats.effect._ import fs2.kafka._ object TopicListener { implicit val cs = IO.contextShift(ExecutionContext.global) implicit val timer =...
## Reproduction steps Scala version: 2.13.12 with debug to show code actions ```scala scala> val x = 's ^ warning: symbol literal is deprecated; use Symbol("s") instead [CodeAction(replace symbol literal,Some(symbol...
## Reproduction steps Scala version: 2.13.12 In Test.scala: ```scala trait Trait { def foo: Any } class Test extends Trait{ case object `val` override def foo = `val` } ```...
## Reproduction steps Scala version: 2.13.12 In Test.scala ```scala trait Trait object Object { object Implementation extends Trait } trait Trait2 { def foo: Trait } class Test { object...
In 2.13.13: ``` scala> :power scala> trait T scala> val t = typeOf[T] scala> val tr = RefinedType(List(t, typeOf[AnyRef]), EmptyScope) scala> t =:= tr val res0: Boolean = false scala>...
## Reproduction steps 1. git clone https://github.com/robstoll/scala 2. git checkout scaladoc-bug 3. open Any.scala 4. you should see the following at the bottom of the file ```scala /** * {{{...
You can have varargs constructors in both Scala and Java, but you can't annotate a varargs constructor in Scala with @varargs - you get an error message "A constructor cannot...