File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/src/scala/tasty/reflect Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -643,7 +643,7 @@ trait Printers
643643
644644 def keepDefinition (d : Definition ): Boolean = {
645645 val flags = d.symbol.flags
646- def isCaseClassUnOverridableMethod : Boolean = {
646+ def isUndecompilableCaseClassMethod : Boolean = {
647647 // Currently the compiler does not allow overriding some of the methods generated for case classes
648648 d.symbol.flags.is(Flags .Synthetic ) &&
649649 (d match {
@@ -658,7 +658,7 @@ trait Printers
658658 })
659659 }
660660 def isInnerModuleObject = d.symbol.flags.is(Flags .Lazy ) && d.symbol.flags.is(Flags .Object )
661- ! flags.is(Flags .Param ) && ! flags.is(Flags .ParamAccessor ) && ! flags.is(Flags .FieldAccessor ) && ! isCaseClassUnOverridableMethod && ! isInnerModuleObject
661+ ! flags.is(Flags .Param ) && ! flags.is(Flags .ParamAccessor ) && ! flags.is(Flags .FieldAccessor ) && ! isUndecompilableCaseClassMethod && ! isInnerModuleObject
662662 }
663663 val stats1 = stats.collect {
664664 case IsDefinition (stat) if keepDefinition(stat) => stat
You can’t perform that action at this time.
0 commit comments