Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture then + expr in new node #3075

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Capture then + expr in new node #3075

merged 2 commits into from
Apr 12, 2024

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Apr 12, 2024

Fixes #3074

The then keyword can really only be used in the secondary constructor.
Because sequential nodes can be nested, our previous check was insufficient.

@nojaf nojaf requested a review from dawedawe April 12, 2024 07:21
Copy link
Member

@dawedawe dawedawe left a comment

Choose a reason for hiding this comment

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

Nice!

@nojaf nojaf merged commit 4d5e5e2 into fsprojects:main Apr 12, 2024
5 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.

Fantomas corrupts an explicit constructor with then clause
2 participants