Skip to content

Fix exception record field regression#8319

Merged
fhammerschmidt merged 2 commits intorescript-lang:masterfrom
fhammerschmidt:fix-optional-record-fields-in-exceptions
Mar 29, 2026
Merged

Fix exception record field regression#8319
fhammerschmidt merged 2 commits intorescript-lang:masterfrom
fhammerschmidt:fix-optional-record-fields-in-exceptions

Conversation

@fhammerschmidt
Copy link
Copy Markdown
Member

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 29, 2026

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript@8319

@rescript/darwin-arm64

npm i https://pkg.pr.new/@rescript/darwin-arm64@8319

@rescript/darwin-x64

npm i https://pkg.pr.new/@rescript/darwin-x64@8319

@rescript/linux-arm64

npm i https://pkg.pr.new/@rescript/linux-arm64@8319

@rescript/linux-x64

npm i https://pkg.pr.new/@rescript/linux-x64@8319

@rescript/runtime

npm i https://pkg.pr.new/@rescript/runtime@8319

@rescript/win32-x64

npm i https://pkg.pr.new/@rescript/win32-x64@8319

commit: a6b20c6

let args, ret_type, kind =
match sext.pext_kind with
| Pext_decl (sargs, sret_type) ->
let sargs = rewrite_optional_inline_record_fields sargs in
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

so this was missing -- legit

@fhammerschmidt fhammerschmidt merged commit 0a75e31 into rescript-lang:master Mar 29, 2026
26 checks passed
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