-
A keyword that's similar to `override`, but causes a compiler error if the parent method is implemented. This is good to distinguish overriding from implementing abstract methods.
Quite often, `ove…
-
## Compiler version
3.2.0
## Minimized code
```Scala
import scala.reflect.Selectable.reflectiveSelectable
def f : { def foo(as: String*): String } = new {
def foo(s: String*) = s.to…
-
Opening this issue, as suggested by Martin, to provide a place to discuss the individual warts brought up in the blog post [Warts of the Scala Programming Language](http://www.lihaoyi.com/post/Wartsof…
-
Rory reported that when running on batch mode `sbt compile`, the first run on the machine is faster than the second onwards. His speculation was that compilation of compile bridge could have forced JI…
-
## Compiler version
`3.1.0`
## Minimized code
The `trait Config` has docs that point to `ConfigValue`.
```Scala
*
* Convert a Config to a JSON or HOCON string by calling
* [[#root root…
-
## Compiler version
Scala 3.3.1, JVM 17
## Minimized code
```
bug.sc
```
```Scala
//> using scala 3.3.1
//> using options "-Wunused:imports"
trait Schema[A]
case class Foo()
cas…
-
## Compiler version
```
# scala -version
Scala code runner version 3.4.0-RC1 -- Copyright 2002-2023, LAMP/EPFL
```
```
# java -version
openjdk version "19" 2022-09-20
OpenJDK Runtime Environ…
-
when reporting a problem with overriding an abstract type with a concrete type, the involved type should be normalised so the error message becomes more explicit
```scala
trait Lists { // developed …
-
```scala
scala> import play.api.libs.json._ ; Option("a").getOrElse("b") : Json.JsValueWrapper
:13: error: type mismatch;
found : Object
required: play.api.libs.json.Json.JsValueWrapper
…
-
Given the following production code:
```scala
package com.evolutionnext.fboundedpolymorphism
trait RecursiveSelfTypeEntity[E
def create(): E
def read(id: Long): Option[E]
def upda…