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 @@ -637,7 +637,7 @@ trait Printers
637
637
638
638
def keepDefinition (d : Definition ): Boolean = {
639
639
val flags = d.symbol.flags
640
- def isCaseClassUnOverridableMethod : Boolean = {
640
+ def isUndecompilableCaseClassMethod : Boolean = {
641
641
// Currently the compiler does not allow overriding some of the methods generated for case classes
642
642
d.symbol.flags.is(Flags .Synthetic ) &&
643
643
(d match {
@@ -652,7 +652,7 @@ trait Printers
652
652
})
653
653
}
654
654
def isInnerModuleObject = d.symbol.flags.is(Flags .Lazy ) && d.symbol.flags.is(Flags .Object )
655
- ! flags.is(Flags .Param ) && ! flags.is(Flags .ParamAccessor ) && ! flags.is(Flags .FieldAccessor ) && ! isCaseClassUnOverridableMethod && ! isInnerModuleObject
655
+ ! flags.is(Flags .Param ) && ! flags.is(Flags .ParamAccessor ) && ! flags.is(Flags .FieldAccessor ) && ! isUndecompilableCaseClassMethod && ! isInnerModuleObject
656
656
}
657
657
val stats1 = stats.collect {
658
658
case IsDefinition (stat) if keepDefinition(stat) => stat
You can’t perform that action at this time.
0 commit comments