File tree 1 file changed +2
-0
lines changed
library/src/scala/tasty/reflect
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -690,6 +690,7 @@ trait Printers
690
690
val flags = vdef.symbol.flags
691
691
if (flags.is(Flags .Implicit )) this += highlightKeyword(" implicit " , color)
692
692
if (flags.is(Flags .Override )) this += highlightKeyword(" override " , color)
693
+ if (flags.is(Flags .Final ) && ! flags.is(Flags .Object )) this += highlightKeyword(" final " , color)
693
694
694
695
printProtectedOrPrivate(vdef)
695
696
@@ -739,6 +740,7 @@ trait Printers
739
740
if (flags.is(Flags .Implicit )) this += highlightKeyword(" implicit " , color)
740
741
if (flags.is(Flags .Inline )) this += highlightKeyword(" inline " , color)
741
742
if (flags.is(Flags .Override )) this += highlightKeyword(" override " , color)
743
+ if (flags.is(Flags .Final ) && ! flags.is(Flags .Object )) this += highlightKeyword(" final " , color)
742
744
743
745
printProtectedOrPrivate(ddef)
744
746
You can’t perform that action at this time.
0 commit comments