1
1
mirror of https://github.com/anoma/juvix.git synced 2024-10-26 17:52:17 +03:00
juvix/tests/negative/RepeatedFieldPattern.juvix

13 lines
131 B
Plaintext
Raw Normal View History

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