-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
68 additions
and
53 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Array_Like_Helpers.enso
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
private | ||
|
||
import project.Any.Any | ||
import project.Data.Array.Array | ||
import project.Data.Maybe.Maybe | ||
|
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
2 changes: 0 additions & 2 deletions
2
engine/runtime/src/test/resources/Test_Private_Modules_4/src/Main.enso
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
import project.Sub | ||
export project.Sub | ||
|
||
# Fails at compile time - cannot mix private and public modules in a module subtree. | ||
|
||
main = | ||
42 |
7 changes: 7 additions & 0 deletions
7
engine/runtime/src/test/resources/Test_Private_Modules_6/package.yaml
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 @@ | ||
name: Test_Private_Modules_6 | ||
license: APLv2 | ||
enso-version: default | ||
version: "0.0.1" | ||
author: "Enso Team <[email protected]>" | ||
maintainer: "Enso Team <[email protected]>" | ||
prefer-local-libraries: true |
5 changes: 5 additions & 0 deletions
5
engine/runtime/src/test/resources/Test_Private_Modules_6/src/Main.enso
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 @@ | ||
import project.Sub.Priv | ||
|
||
main = | ||
Priv.foo | ||
|
6 changes: 6 additions & 0 deletions
6
engine/runtime/src/test/resources/Test_Private_Modules_6/src/Sub/Priv.enso
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,6 @@ | ||
# This is a private module, that is under a synthetic "Sub" module. | ||
# By default, synthetic modules are public. | ||
|
||
private | ||
|
||
foo = 42 |
7 changes: 7 additions & 0 deletions
7
engine/runtime/src/test/resources/Test_Private_Modules_7/package.yaml
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 @@ | ||
name: Test_Private_Modules_7 | ||
license: APLv2 | ||
enso-version: default | ||
version: "0.0.1" | ||
author: "Enso Team <[email protected]>" | ||
maintainer: "Enso Team <[email protected]>" | ||
prefer-local-libraries: true |
6 changes: 6 additions & 0 deletions
6
engine/runtime/src/test/resources/Test_Private_Modules_7/src/Main.enso
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,6 @@ | ||
import project.Sub.Pub | ||
export project.Sub.Pub | ||
|
||
main = | ||
Pub.foo | ||
|
4 changes: 4 additions & 0 deletions
4
engine/runtime/src/test/resources/Test_Private_Modules_7/src/Sub.enso
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,4 @@ | ||
# This is a private parent module | ||
|
||
private | ||
|
2 changes: 2 additions & 0 deletions
2
engine/runtime/src/test/resources/Test_Private_Modules_7/src/Sub/Pub.enso
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,2 @@ | ||
|
||
foo = 42 |
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