We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 982deae commit b544090Copy full SHA for b544090
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -776,7 +776,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
776
params ::: rest
777
} else impl.body
778
779
- val bodyText = " {" ~~ selfText ~~ toTextGlobal(primaryConstrs ::: body, "\n") ~ "}"
+ val bodyText = " {" ~~ selfText ~ toTextGlobal(primaryConstrs ::: body, "\n") ~ "}"
780
781
prefix ~
782
keywordText(" extends").provided(!ofNew && impl.parents.nonEmpty) ~~ parentsText ~
tests/printing/i620.check
@@ -1,3 +1,4 @@
1
+result of tests/printing/i620.scala after frontend:
2
package O {
3
package O.A {
4
class D() extends Object() {
@@ -26,4 +27,4 @@ package O {
26
27
val g: Int = 0
28
}
29
-}
30
+}
0 commit comments