Skip to content

Merge SplitElaborator into Elaborator (close #522)#535

Merged
LPTK merged 3 commits into
hkust-taco:hkmc2from
chengluyu:issue-522-merge-split-elaborator
Jun 29, 2026
Merged

Merge SplitElaborator into Elaborator (close #522)#535
LPTK merged 3 commits into
hkust-taco:hkmc2from
chengluyu:issue-522-merge-split-elaborator

Conversation

@chengluyu

@chengluyu chengluyu commented Jun 27, 2026

Copy link
Copy Markdown
Member

UCS expressions were elaborated in SplitElaborator. There's no need to maintain a different class which also does elaboration. This PR merges SplitElaborator into Elaborator. It's a simple refactor and should be transparent to downstream stages in the compiler.

@LPTK

LPTK commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Thanks. Could you please add a regression test that shows constructor patterns are now compiled efficiently?

@chengluyu

Copy link
Copy Markdown
Member Author

Thanks. Could you please add a regression test that shows constructor patterns are now compiled efficiently?

That's going to be another PR...

This PR only moves SplitElaborator into Elaborator.

@chengluyu chengluyu changed the title Merge SplitElaborator into Elaborator (#522) Merge SplitElaborator into Elaborator (close #522) Jun 27, 2026
@chengluyu chengluyu linked an issue Jun 27, 2026 that may be closed by this pull request
@LPTK

LPTK commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Please add a short PR description and at least a couple of regression test (including the one in the issue!).

@LPTK LPTK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, though I'm not 100% sure what this change buys us.

@LPTK LPTK merged commit 22e50e4 into hkust-taco:hkmc2 Jun 29, 2026
1 check passed
@LPTK LPTK deleted the issue-522-merge-split-elaborator branch June 29, 2026 03:55
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.

SplitElaborator should be merged in Elaborator

2 participants