We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AnnotatedType
RefinedPrinter
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
Looking through RefinedPrinter https://github.com/lampepfl/dotty/blob/76b110b5bb029a6607f517304dd2fa9c58547a88/compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala#L204 I noticed a case that ostensibly overrides the printing of AnnotatedType when testing the pickler (homogenizedView). In reality, that case just computes withoutPos(super.toText(tp)) without returning it and eventually falls through to super.toText(tp). Considering that pickling tests do work, it seems that the special case is not needed anymore, so I suggest we remove it.
homogenizedView
withoutPos(super.toText(tp))
super.toText(tp)
The text was updated successfully, but these errors were encountered:
Should test this after #5713 is merged.
Sorry, something went wrong.
1e806d4
Merge pull request #7548 from dotty-staging/fix-#4657
87ea7a6
Fix #4657: Remove special case that is not needed anymore
No branches or pull requests
Looking through RefinedPrinter https://github.com/lampepfl/dotty/blob/76b110b5bb029a6607f517304dd2fa9c58547a88/compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala#L204 I noticed a case that ostensibly overrides the printing of
AnnotatedType
when testing the pickler (homogenizedView
). In reality, that case just computeswithoutPos(super.toText(tp))
without returning it and eventually falls through tosuper.toText(tp)
. Considering that pickling tests do work, it seems that the special case is not needed anymore, so I suggest we remove it.The text was updated successfully, but these errors were encountered: