Skip to content

Conversation

@amomchilov
Copy link

Motivation

Test plan

See included automated tests.

amomchilov and others added 30 commits November 10, 2025 17:01
Co-authored-by: Thomas Marshall <[email protected]>
Co-authored-by: Jesse Johnson <[email protected]>
Co-authored-by: Jesse Johnson <[email protected]>
Co-authored-by: Jesse Johnson <[email protected]>
Co-authored-by: Thomas Marshall <[email protected]>
Co-authored-by: Alexander Momchilov <[email protected]>
Co-authored-by: Thomas Marshall <[email protected]>
PM_ALIAS_METHOD_NODE return expr_only
…OLATED_STRING_NODE, PM_INTERPOLATED_REGULAR_EXPRESSION_NODE return expr_only
… helper PM_BREAK_NODE, PM_NEXT_NODE, PM_RETURN_NODE are refactored to called to desugarBreakNextReturn and return expr_only

Co-authored-by: Thomas Marshall <[email protected]>
Co-authored-by: Jesse Johnson <[email protected]>
Copy link
Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@amomchilov amomchilov changed the title Inline node2TreeImplBody() Gut out remaining PrismDesugar.cc logic Dec 19, 2025
if (programNode->statements->body.size == 1) {
auto statement = desugar(programNode->statements->body.nodes[0]);

// If the one statement desugars into an instruction sequence of multiple statements,
Copy link
Author

@amomchilov amomchilov Dec 19, 2025

Choose a reason for hiding this comment

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

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.

3 participants