Skip to content

Commit

Permalink
format tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Nov 28, 2024
1 parent 182ea92 commit 339e84c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/positive/RecordProjectionSignature.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ module RecordProjectionSignature;
import Stdlib.Data.Nat open;

trait
type R A := mkR@{fun : (n : A) -> A};
type R A :=
mkR@{
fun : (n : A) -> A;
};

f {{R Nat}} : Nat :=
R.fun@{
Expand Down
5 changes: 4 additions & 1 deletion tests/positive/TypeSignatures.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ g (x : Nat) : Nat :=
x := x;
};

type R := mkR@{rf (x : Nat) : Nat};
type R :=
mkR@{
rf (x : Nat) : Nat;
};

type R' := mkR' (rf : Nat -> Nat) : R';

Expand Down

0 comments on commit 339e84c

Please sign in to comment.