1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-01 00:04:58 +03:00
juvix/tests/negative/AmbiguousConstructor.juvix

18 lines
183 B
Plaintext
Raw Normal View History

2022-03-24 17:57:10 +03:00
module AmbiguousConstructor;
module M;
type T1 :=
2022-03-24 17:57:10 +03:00
A : T1;
end;
module N;
type T2 :=
2022-03-24 17:57:10 +03:00
A : T2;
end;
open M;
open N;
f : T1 -> T2
| A := N.A;
2022-03-24 17:57:10 +03:00
end;