1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-04 17:07:28 +03:00
juvix/tests/positive/Namespaces.juvix

46 lines
404 B
Plaintext
Raw Normal View History

2023-07-26 10:59:50 +03:00
module Namespaces;
module Main;
module M;
axiom A : Type;
end;
axiom M : Type;
end;
module Test1;
open Main using {module M; M};
open M;
axiom x : M.A;
axiom x1 : A;
axiom x2 : M;
end;
module Test2;
open Main hiding {module M};
axiom x2 : M;
module M;
end;
open M;
end;
module Test3;
open Main using {M};
axiom x2 : M;
module M;
end;
open M;
end;