mirror of
https://github.com/anoma/juvix.git
synced 2024-12-01 00:04:58 +03:00
3fbc9c7c55
Closes #1644 #1635
18 lines
183 B
Plaintext
18 lines
183 B
Plaintext
module AmbiguousConstructor;
|
|
module M;
|
|
type T1 :=
|
|
A : T1;
|
|
end;
|
|
|
|
module N;
|
|
type T2 :=
|
|
A : T2;
|
|
end;
|
|
|
|
open M;
|
|
open N;
|
|
|
|
f : T1 -> T2;
|
|
f A := N.A;
|
|
end;
|