1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-01 00:04:58 +03:00
juvix/tests/negative/AmbiguousConstructor.juvix
Łukasz Czajka 2baad15a41 Remove old function syntax (#2305)
* Enables new function syntax in local let-declarations
* Closes #2251
2023-08-24 16:24:47 +02:00

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
| A := N.A;
end;