-
This code:
```scala
class MyClass {
def something(in: String): String = {
in + "_z"
}
def something: (String) => String = {
case _ => "Fixed"
}
}
val my …
-
## Compiler version
At current main - 1ea177df6d, and also previous versions.
## The problem
The problem is caused by usage of `Unsafe.objectFieldOffset` in runtime. When compiling the compil…
-
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…
-
I could use a version of `Inference` that always fails to manifest. For example, the following inference "fails" but it doesn't fail to manifest, it just has a `false` value:
```scala
scala> implici…
-
## Description
We would like to introduce a scala API that actively validates the feasibility of tensor operations while being written, NOT while being tested or deployed. The API will be based on …
-
Hi all!
Just noticed Scala 3 is now officially on the scala-lang.org website - that's absolutely fantastic! I would like to share some of my findings from a Windows user's point of view, that could…
-
The [Scala spect](https://www.scala-lang.org/files/archive/spec/2.11/01-lexical-syntax.html) states:
> The ‘$’ character is reserved for compiler-synthesized identifiers. User programs should not d…
-
## Compiler version
7d559ad06bdfe448450341c7fdf12cc0513456f3
## Minimized code
```Scala
import scala.language.experimental.namedTuples
object Test:
val f: (name: String, age: Int) = ??…
-
I am a bit confused by the semantic of forward reference in Scalac and Dotty.
```scala
scala> def foo = { val x: String = x; 1 }; foo
def foo: Int
val res1: Int = 1
scala> def foo = { val x: St…
-
Given the following production code:
```scala
package com.evolutionnext.fboundedpolymorphism
trait RecursiveSelfTypeEntity[E
def create(): E
def read(id: Long): Option[E]
def upda…