-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Zekun Wang
committed
Jun 20, 2024
1 parent
27c094f
commit 28e99fb
Showing
6 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
10 changes: 10 additions & 0 deletions
10
...move-package/tests/test_sources/compilation/call_package_fun_from_other_package/Move.toml
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,10 @@ | ||
[package] | ||
name = "test" | ||
version = "1.0.0" | ||
authors = [] | ||
|
||
[addresses] | ||
A = "0x42" | ||
|
||
[dependencies] | ||
deps = { local = "./deps_only" } |
1 change: 1 addition & 0 deletions
1
...ve-package/tests/test_sources/compilation/call_package_fun_from_other_package/Move.v2_exp
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 @@ | ||
exiting with checking errors |
7 changes: 7 additions & 0 deletions
7
...ge/tests/test_sources/compilation/call_package_fun_from_other_package/deps_only/Move.toml
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 @@ | ||
[package] | ||
name = "deps" | ||
version = "1.0.0" | ||
authors = [] | ||
|
||
[addresses] | ||
B = "0x42" |
5 changes: 5 additions & 0 deletions
5
...sts/test_sources/compilation/call_package_fun_from_other_package/deps_only/sources/B.move
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 B::B { | ||
public(package) fun foo() { | ||
|
||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...package/tests/test_sources/compilation/call_package_fun_from_other_package/sources/A.move
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 @@ | ||
module A::A { | ||
use B::B; | ||
|
||
fun foo() { | ||
B::foo(); | ||
} | ||
} |