-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow aliases to core wasm types outside of depth 1 (#1539)
This accompanies WebAssembly/component-model#350 and relaxes the previous constraint implemented in #640 to reflect the spec-at-the-time, which has since been relaxed.
- Loading branch information
1 parent
6797729
commit 64c0b26
Showing
6 changed files
with
57 additions
and
39 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
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,8 @@ | ||
(component $c | ||
(core type $f (;0;) (func)) | ||
(core type $t (;1;) | ||
(module | ||
(alias outer $c $f (type (;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,11 @@ | ||
(component $C | ||
(core type $t (;0;) (func)) | ||
(component $C2 (;0;) | ||
(core type (;0;) | ||
(module | ||
(alias outer $C $t (type (;0;))) | ||
(import "" "" (func (type 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,10 @@ | ||
(component $c | ||
(core type $f (;0;) (func)) | ||
(component $c2 (;0;) | ||
(core type $t (;0;) | ||
(module | ||
(alias outer $c $f (type (;0;))) | ||
) | ||
) | ||
) | ||
) |