-
### Your environment
_Which OS do you use?_
MacOS 14 Sonoma Developer Beta (Macbook Pro with Apple Silicon)
_Which version of GHC do you use and how did you install it?_
9.2.8 from ghcup.
_How …
-
This compiles, but shouldn't:
```Scala
sealed trait Expr[+T]
final case class FooExpr() extends Expr[1 | 2]
object Test {
def foo[T](x: Expr[T]): T = x match {
case x: FooExpr =>
…
-
i've been getting this error presumably whenever hls attempts to build the project. everything works fine when i just have a single file on its own, but if i create a cabal project then it doesn't wor…
-
This example:
```scala
sealed trait Parent
final case class Leaf[A, B >: A](a: A, b: B) extends Parent
def run(x: Parent): Unit = x match {
case Leaf(a, b) =>
}
```
Leads to the follow…
-
Consider the following case where we lint a function abstraction:
```
hnix --check -e "{ x, y }: let z = x + y; in [ z (y + 2) ]"
(fromList [("x","int, string, path"),("y","int")] -> [int])
```
…
-
## Compiler version
Compiles correctly for `3.0.0`, `3.0.1`
Gives an error for `3.0.2`
Compiles correctly for `3.1.0`, `3.1.1`
Gives an error for `3.1.2`, `3.1.3`, `3.2.0-RC1`, `3.2.1-RC1-bin-20…
-
## Compiler version
3.1.0
## Minimized code
```Scala
trait Expr { type T }
def foo[A](e: Expr { type T = A }) = e match
case e1: Expr { type T
val i: Int = ??? : e1.T
```
## …
-
### Summary
I launched two instances of helix for different projects, within 5 seconds-ish of each other, however, the second instance crashed when I launched the lsp (I used :lsp-restart).
Here…
-
See [this](https://contributors.scala-lang.org/t/help-needed-teasing-apart-compiler-bugs/5880) discussion thread.
## Compiler version
3.1.3
## Minimized code
```Scala
sealed trait NatT
c…
-
### Your environment
Output of `haskell-language-server --probe-tools` or `haskell-language-server-wrapper --probe-tools`:
```sh
haskell-language-server version: 0.6.0.0 (GHC: 8.8.4) (PATH: /…