File tree 2 files changed +5
-4
lines changed
compiler/src/dotty/tools/dotc/printing
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -776,7 +776,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
776
776
params ::: rest
777
777
} else impl.body
778
778
779
- val bodyText = " {" ~~ selfText ~~ toTextGlobal(primaryConstrs ::: body, " \n " ) ~ " }"
779
+ val bodyText = " {" ~~ selfText ~ toTextGlobal(primaryConstrs ::: body, " \n " ) ~ " }"
780
780
781
781
prefix ~
782
782
keywordText(" extends" ).provided(! ofNew && impl.parents.nonEmpty) ~~ parentsText ~
Original file line number Diff line number Diff line change
1
+ result of tests/printing/i620.scala after frontend:
1
2
package O {
2
3
package O.A {
3
- class D() extends Object() {
4
- class C() extends Object() {
4
+ class D() extends Object() {
5
+ class C() extends Object() {
5
6
protected[D] def a: Int = 0
6
7
private[D] def b: Int = 0
7
8
private def c: Int = 0
@@ -26,4 +27,4 @@ package O {
26
27
val g: Int = 0
27
28
}
28
29
}
29
- }
30
+ }
You can’t perform that action at this time.
0 commit comments