Skip to content

Fix & reuse printing of dummyTreeOfType #16750

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

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

dwijnand
Copy link
Member

The main fix is the unsplice, which was making the pattern not match for
FunProto. But also, when the tree is applied to the dummy, print the
dummy in the Apply node. And print null as a constant literal.

Also, given AnyFunctionProto and AnyTypeConstructorProto shorter
toStrings.

The main fix is the unsplice, which was making the pattern not match for
FunProto.  But also, when the tree is applied to the dummy, print the
dummy in the Apply node.  And print null as a constant literal.

Also, given AnyFunctionProto and AnyTypeConstructorProto shorter
toStrings.
@dwijnand dwijnand force-pushed the fix-printing-dummyTreeOfType branch from 38b9fd8 to 94ff3c8 Compare January 23, 2023 15:25
@dwijnand dwijnand requested a review from odersky January 23, 2023 20:36
@dwijnand dwijnand marked this pull request as ready for review January 23, 2023 20:36
@odersky odersky merged commit 8d0c307 into scala:main Jan 24, 2023
@dwijnand dwijnand deleted the fix-printing-dummyTreeOfType branch January 24, 2023 11:58
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