scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

Rewrite shortened type printer to use refined / plain printer methods

Open rochala opened this issue 9 months ago • 0 comments

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 as showDcl

https://github.com/scala/scala3/blob/4bd33693ba759fe67437117f77bf6e5ddf3b7cf0/presentation-compiler/src/main/dotty/tools/pc/printer/ShortenedTypePrinter.scala

rochala avatar May 10 '24 08:05 rochala