-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1642 from GaloisInc/rem/iss-1621
Make it so only public IfaceDecls are loaded from other modules
- Loading branch information
Showing
5 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module a where | ||
|
||
private | ||
|
||
property x = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module b where | ||
|
||
import a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
:m a | ||
x | ||
:m b | ||
x | ||
:check x | ||
:check a::x | ||
:check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Loading module Cryptol | ||
Loading module Cryptol | ||
Loading module a | ||
True | ||
Loading module Cryptol | ||
Loading module a | ||
Loading module b | ||
|
||
[error] at issue1621.icry:4:1--4:2 | ||
Value not in scope: x | ||
|
||
[error] at issue1621.icry:5:8--5:9 | ||
Value not in scope: x | ||
|
||
[error] at issue1621.icry:6:8--6:12 | ||
Value not in scope: a::x | ||
There are no properties in scope. |