Skip to content

[GC] Directize: Fix subtyping#7960

Merged
kripken merged 4 commits into
WebAssembly:mainfrom
kripken:directize.sub
Oct 9, 2025
Merged

[GC] Directize: Fix subtyping#7960
kripken merged 4 commits into
WebAssembly:mainfrom
kripken:directize.sub

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Oct 9, 2025

This pass was written before function subtyping, and just checked equality.

@kripken kripken requested a review from tlively October 9, 2025 16:04
)
)

;; Remove the subtyping. This call should error.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be interesting to test the case where the called function is a strict supertype of the expected type as well.

@kripken kripken merged commit 2010baa into WebAssembly:main Oct 9, 2025
16 checks passed
@kripken kripken deleted the directize.sub branch October 9, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants