-
## Compiler version
Scala 2 and 3
## Minimized code
```scala
object Instances1:
given one: Int = 1
object Instances2:
given one: Int = 2
import Instances1.one
import Instances2.…
-
A tree printer in terms of extractors
-
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…
-
```scala
class O:
def h = 1
trait T
// def g = h
object Test:
def foo(o: O, x: AnyRef) = x match { case _: o.T => "same"; case _ => "other" }
def main(args: Array[String]): Unit =…
-
Community build regression for https://github.com/ciaraobrien/dottytags (maintainer @ciaraobrien)
Based on [Open Community Build #1858](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunity…
-
For some reason, implicit lookup fails when type-alias is used in return types:
```scala
class ImplicitVsTypeAliasTezt {
class Monad[m[_]] {
type For[a] = _For[m, a]
impli…
-
This issue is to investigate the feasibility of porting scala-typed-holes to Scala 3.
I haven't looked at all at how to write compiler plugins in Scala 3. I imagine the plugin architecture is rough…
cb372 updated
3 years ago
-
## 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…
-
This issue is from [How to override value when value types have a different number of type parameters?
](https://stackoverflow.com/questions/49226928/how-to-override-value-when-value-types-have-a-dif…
-
## 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…