Skip to content

[spec] Update validation algorithm for descriptors - #130

Merged
tlively merged 3 commits into
mainfrom
appendix-algorithm
Nov 6, 2026
Merged

tlively merged 3 commits into
mainfrom
appendix-algorithm

Conversation

@tlively

@tlively tlively commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Update the validation algorithm pseudocode in the appendix with exact concrete heap types, descriptor types, relaxed br_on_cast, exact struct.new, and representative cases for ref.get_desc, ref.cast_desc_eq, br_on_cast_desc_eq, struct.new_desc, and ref.func.

Enrich the principal types grammar in the appendix with exactness type variables (\alpha_{exact}) and exact type uses so that instructions like ref.get_desc that preserve exactness across concrete heap types have principal type schemes.
Update the validation algorithm pseudocode in the appendix with exact concrete heap types, descriptor types, relaxed br_on_cast, exact struct.new, and representative cases for ref.get_desc, ref.cast_desc_eq, br_on_cast_desc_eq, and struct.new_desc.
@tlively
tlively requested a review from rossberg November 5, 2026 00:16
Base automatically changed from appendix-principal-types to main November 5, 2026 15:14
@tlively
tlively merged commit 6efbe68 into main Nov 6, 2026
11 checks passed
@tlively
tlively deleted the appendix-algorithm branch November 6, 2026 16:01
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