Rewrite shortened type printer to use refined / plain printer methods #20375
Labels
area:presentation-compiler
Related to the presentation compiler module used by Metals and possibly other tools
itype:bug
Compiler version
3.5.0
Minimized code
Shortened type printer has a technical debt of custom methods handling printing of signatures.
This causes a lot of problems with label printing. This should be rewritten to reuse methods provided by
RefinedPrinter
/PlainPrinter
such asshowDcl
https://github.com/scala/scala3/blob/4bd33693ba759fe67437117f77bf6e5ddf3b7cf0/presentation-compiler/src/main/dotty/tools/pc/printer/ShortenedTypePrinter.scala
The text was updated successfully, but these errors were encountered: