1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 05:42:26 +03:00
juvix/tests/positive/issue2994.juvix

13 lines
214 B
Plaintext

module issue2994;
type T := t;
type Maybe (a : Type) :=
| nothing
| just a;
trait
type SomeTrait A := mkSomeTrait {baz : A -> T};
bar {{SomeTrait T}} (value : T) {maybeValue : Maybe T := nothing} : T := t;