Skip to content

Syntax and validation for descriptor casts - #105

Open
tlively wants to merge 3 commits into
ref-get-descfrom
cast-desc-eq-spec
Open

Syntax and validation for descriptor casts#105
tlively wants to merge 3 commits into
ref-get-descfrom
cast-desc-eq-spec

Conversation

@tlively

@tlively tlively commented Jul 13, 2026

Copy link
Copy Markdown
Member

No description provided.

Comment thread specification/wasm-latest/2.3-validation.instructions.spectec Outdated
@tlively tlively mentioned this pull request Jul 13, 2026
51 tasks
@tlively

tlively commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

The conclusion of the validation rules for the new branch instructions are slightly too wide when rendered. Is there anything we can do about that?

@tlively
tlively requested a review from rossberg July 14, 2026 14:16

@rossberg rossberg left a comment

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.

The renderer should respect line breaks inside sequences, but probably doesn't recognise them around infix operators atm.

But given that both these rule repeat a longish ref type between immediate and instruction type, it may make sense to name that one and pattern-match it with an if-premise, which probably solves the problem.

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