1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-01 00:04:58 +03:00
juvix/tests/negative/AmbiguousConstructor.juvix
janmasrovira 803d2008d9
remove ≔ from the language and replace it by := (#1563)
* remove ≔ from the language and replace it by :=

* revert accidental changes in juvix input mode

* update stdlib submodule

* rename ℕ by Nat in the tests and examples

* fix shell tests
2022-09-30 10:55:32 +10:00

20 lines
205 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;