File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
library/src/scala/tasty/reflect Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -690,6 +690,7 @@ trait Printers
690690 val flags = vdef.symbol.flags
691691 if (flags.is(Flags .Implicit )) this += highlightKeyword(" implicit " , color)
692692 if (flags.is(Flags .Override )) this += highlightKeyword(" override " , color)
693+ if (flags.is(Flags .Final ) && ! flags.is(Flags .Object )) this += highlightKeyword(" final " , color)
693694
694695 printProtectedOrPrivate(vdef)
695696
@@ -739,6 +740,7 @@ trait Printers
739740 if (flags.is(Flags .Implicit )) this += highlightKeyword(" implicit " , color)
740741 if (flags.is(Flags .Inline )) this += highlightKeyword(" inline " , color)
741742 if (flags.is(Flags .Override )) this += highlightKeyword(" override " , color)
743+ if (flags.is(Flags .Final ) && ! flags.is(Flags .Object )) this += highlightKeyword(" final " , color)
742744
743745 printProtectedOrPrivate(ddef)
744746
You can’t perform that action at this time.
0 commit comments