@@ -606,7 +606,6 @@ trait Printers
606
606
printTypeTree(parent)
607
607
case IsTerm (Term .TypeApply (fun, targs)) =>
608
608
printParent(fun)
609
- inSquare(printTypeOrBoundsTrees(targs, " , " ))
610
609
case IsTerm (Term .Apply (fun, args)) =>
611
610
printParent(fun)
612
611
inParens(printTrees(args, " , " ))
@@ -690,6 +689,7 @@ trait Printers
690
689
val flags = vdef.symbol.flags
691
690
if (flags.is(Flags .Implicit )) this += highlightKeyword(" implicit " , color)
692
691
if (flags.is(Flags .Override )) this += highlightKeyword(" override " , color)
692
+ if (flags.is(Flags .Final ) && ! flags.is(Flags .Object )) this += highlightKeyword(" final " , color)
693
693
694
694
printProtectedOrPrivate(vdef)
695
695
@@ -739,6 +739,7 @@ trait Printers
739
739
if (flags.is(Flags .Implicit )) this += highlightKeyword(" implicit " , color)
740
740
if (flags.is(Flags .Inline )) this += highlightKeyword(" inline " , color)
741
741
if (flags.is(Flags .Override )) this += highlightKeyword(" override " , color)
742
+ if (flags.is(Flags .Final ) && ! flags.is(Flags .Object )) this += highlightKeyword(" final " , color)
742
743
743
744
printProtectedOrPrivate(ddef)
744
745
@@ -759,6 +760,9 @@ trait Printers
759
760
}
760
761
this
761
762
763
+ case Term .Ident (" _" ) =>
764
+ this += " _"
765
+
762
766
case IsTerm (tree @ Term .Ident (_)) =>
763
767
printType(tree.tpe)
764
768
0 commit comments