1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 05:42:26 +03:00
juvix/tests/positive/Namespaces.juvix
2023-07-26 09:59:50 +02:00

46 lines
404 B
Plaintext

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;