mirror of
https://github.com/anoma/juvix.git
synced 2024-11-30 05:42:26 +03:00
e45503a63e
- Fixes #2994
13 lines
214 B
Plaintext
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;
|