Skip to content

Commit

Permalink
add test with nullary constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Dec 6, 2023
1 parent 0f3f22b commit accb3f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/positive/ConstructorWildcard.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ type either (A B : Type) :=
isLeft {A B} : either A B → Bool
| left@{} := true
| right@{} := false;

not : Bool → Bool
| false@{} := true
| true := false;

0 comments on commit accb3f2

Please sign in to comment.