-
## Compiler version
3.0.2-RC1
## Minimized code
```Scala
class Module[*[_, _]] {
sealed trait Box[A]
case class Box2x2[A, B, C, D](value: (A * B) * (C * D)) extends Box[(A * B) * (C …
-
Some algorithms behave differently depending on the size of the input. Current Crytpol does not support this nicely, because while we can examine the values of numeric types, we have no way to learn …
-
Hi Jean-Baptiste,
Let's say we have the following GADT :
``` java
@data
interface Seminar {
interface Cases {
R Init(SData.Core core, TypeEq __);
R Temp(SData.Core core, SData.Ad…
-
The following program
```
{-# LANGUAGE GADTs #-}
{-@
data T where
T :: { getT :: Int } -> T
@-}
data T where
T :: { getT :: Int } -> T
main :: IO ()
main = print ()
```
fails with…
-
I extracted this from `tink_sql`:
```haxe
enum ExprData {
EBinOp(op:BinOp, a:Expr, b:Expr):ExprData;
}
enum BinOp {
Like:BinOp;
}
abstract Expr(ExprData) {
inline function new(e) {
…
-
The following triggers an LH error:
```haskell
{-# LANGUAGE GADTs #-}
{-@ LIQUID "--reflection" @-}
module Gadt where
data Foo a where
Bar :: Foo Int
Baz :: Foo Bool
{-@ reflect getF…
-
The error messages when using typed holes on the RHS of a pattern match on GADT constructors are not optimal, since type equality constraints are left unresolved and not applied as substitutions. (Tes…
-
## Compiler version
(scalac -version)
Scala compiler version 3.3.0 -- Copyright 2002-2023, LAMP/EPFL
## Minimized code
```Scala
sealed trait PTwo
sealed trait Foo[+A]
case class One(u…
-
We currently use the `GetHyperType` type family to unwrap `'AHyperType`s, but Haskell doesn't currently understand that it's a bijective type family so it doesn't infer that trees are always of shape …
-
This code is accepted by GHC but not by HSE:
```haskell
{-# LANGUAGE GADTs #-}
data SomeGADT a where
```
Here's a test case:
```haskell
> let gadts = defaultParseMode {extensions = [Enabl…