1
1
mirror of https://github.com/anoma/juvix.git synced 2024-10-26 17:52:17 +03:00
juvix/tests/negative/RepeatedFieldPattern.juvix
Jonathan Cubides 21d5034e60
Fix formatting for all Juvix files in tests folder (#2404)
In this PR, we ran the Juvix formatter so that we can now freely run
`make format`, `make check`, or `make pre-commit` without any unexpected
file changes.

This goes after:

- https://github.com/anoma/juvix/pull/2486
2023-10-31 18:36:34 +01:00

13 lines
131 B
Plaintext

module RepeatedFieldPattern;
type T := t;
type R :=
mkR {
a : T;
b : T
};
f : R -> T
| mkR@{a := x; a := y} := x;