Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Jun 8, 2024
1 parent 2b123a2 commit 94c31f2
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/Scope/Positive.hs
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,9 @@ tests =
posTest
"Visibility precedence"
$(mkRelDir "VisibilityPrecendence")
$(mkRelFile "VisibilityPrecedence.juvix")
$(mkRelFile "VisibilityPrecedence.juvix"),
posTest
"import A as B public (issue 2429)"
$(mkRelDir "issue2429")
$(mkRelFile "Main.juvix")
]
3 changes: 3 additions & 0 deletions tests/positive/issue2429/Export.juvix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Export;

import Library as Lib public;
3 changes: 3 additions & 0 deletions tests/positive/issue2429/Library.juvix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Library;

axiom libType : Type;
5 changes: 5 additions & 0 deletions tests/positive/issue2429/Main.juvix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module Main;

import Export;

axiom X : Export.Lib.libType;
5 changes: 5 additions & 0 deletions tests/positive/issue2429/Package.juvix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module Package;

import PackageDescription.V2 open;

package : Package := defaultPackage {name := "issue2429"};

0 comments on commit 94c31f2

Please sign in to comment.