Skip to content

Fix module packs in unpack expressions#289

Merged
aspeddro merged 1 commit into
rescript-lang:mainfrom
mvaled:main
May 9, 2026
Merged

Fix module packs in unpack expressions#289
aspeddro merged 1 commit into
rescript-lang:mainfrom
mvaled:main

Conversation

@mvaled

@mvaled mvaled commented May 5, 2026

Copy link
Copy Markdown
Contributor

Allow first-class module packs with module type annotations inside unpack expressions, e.g. unpack(module(Cleanup): PipelineStep with type state = t).

Fixes #288

Allow first-class module packs with module type annotations inside unpack expressions,
e.g. `unpack(module(Cleanup): PipelineStep with type state = t)`.

Fixes rescript-lang#288

@aspeddro aspeddro left a comment

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.

Thank you!!

@aspeddro aspeddro merged commit 990214a into rescript-lang:main May 9, 2026
3 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.

unpack(module(X): ...) fails

2 participants