-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test extensions of "parent" dependencies
These are the main correctness fix from #55910, so it's important that we have test coverage for it.
- Loading branch information
1 parent
0bedaae
commit a1dbfd0
Showing
7 changed files
with
88 additions
and
0 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,9 @@ | ||
name = "DepWithParentExt" | ||
uuid = "8a35c396-5ffc-40d2-b7ec-e8ed2248da32" | ||
version = "0.1.0" | ||
|
||
[weakdeps] | ||
Parent = "58cecb9c-f68a-426e-b92a-89d456ae7acc" | ||
|
||
[extensions] | ||
ParentExt = "Parent" |
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 @@ | ||
module ParentExt | ||
|
||
using Parent | ||
using DepWithParentExt | ||
|
||
end |
5 changes: 5 additions & 0 deletions
5
test/project/Extensions/DepWithParentExt.jl/src/DepWithParentExt.jl
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 DepWithParentExt | ||
|
||
greet() = print("Hello dep w/ ext for parent dep!") | ||
|
||
end # module DepWithParentExt |
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,20 @@ | ||
# This file is machine-generated - editing it directly is not advised | ||
|
||
julia_version = "1.12.0-DEV" | ||
manifest_format = "2.0" | ||
project_hash = "b6ac643184d62cc94427c9aa665ff1fb63d66038" | ||
|
||
[[deps.DepWithParentExt]] | ||
path = "../DepWithParentExt.jl" | ||
uuid = "8a35c396-5ffc-40d2-b7ec-e8ed2248da32" | ||
version = "0.1.0" | ||
weakdeps = ["Parent"] | ||
|
||
[deps.DepWithParentExt.extensions] | ||
ParentExt = "Parent" | ||
|
||
[[deps.Parent]] | ||
deps = ["DepWithParentExt"] | ||
path = "." | ||
uuid = "58cecb9c-f68a-426e-b92a-89d456ae7acc" | ||
version = "0.1.0" |
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 = "Parent" | ||
uuid = "58cecb9c-f68a-426e-b92a-89d456ae7acc" | ||
version = "0.1.0" | ||
authors = ["Cody Tapscott <[email protected]>"] | ||
|
||
[deps] | ||
DepWithParentExt = "8a35c396-5ffc-40d2-b7ec-e8ed2248da32" |
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 Parent | ||
|
||
using DepWithParentExt | ||
|
||
greet() = print("Hello parent!") | ||
|
||
end # module Parent |