Skip to content

[pull] main from facebook:main#396

Merged
pull[bot] merged 1 commit into
LoadsAForks:mainfrom
react:main
Feb 2, 2026
Merged

[pull] main from facebook:main#396
pull[bot] merged 1 commit into
LoadsAForks:mainfrom
react:main

Conversation

@pull

@pull pull Bot commented Feb 2, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Adds support for value terminals (optional/logical/ternary/sequence)
within try/catch clauses.

Try/catch expressions insert maybe-throw terminals after each
instruction, but BuildReactiveFunction's value block extraction was not
expecting these terminals. The fix is to roughly treat maybe-throw
similarly to goto, falling through to the continuation block, but there
are a few edge cases to handle.

I've also added extensive tests, including testing that errors correctly
flow to the catch handler.
@pull pull Bot locked and limited conversation to collaborators Feb 2, 2026
@pull pull Bot added the ⤵️ pull label Feb 2, 2026
@pull
pull Bot merged commit b8a6bfa into LoadsAForks:main Feb 2, 2026
0 of 10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant