mirror of
https://github.com/anoma/juvix.git
synced 2024-12-01 00:04:58 +03:00
20 lines
206 B
Plaintext
20 lines
206 B
Plaintext
|
module AmbiguousConstructor;
|
||
|
module M;
|
||
|
inductive T1 {
|
||
|
A : T1;
|
||
|
};
|
||
|
end;
|
||
|
|
||
|
module N;
|
||
|
inductive T2 {
|
||
|
A : T2;
|
||
|
};
|
||
|
end;
|
||
|
|
||
|
open M;
|
||
|
open N;
|
||
|
|
||
|
f : T1 -> T2;
|
||
|
f A ≔ N.A;
|
||
|
end;
|