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
637637
638638 def keepDefinition (d : Definition ): Boolean = {
639639 val flags = d.symbol.flags
640- def isCaseClassUnOverridableMethod : Boolean = {
640+ def isUndecompilableCaseClassMethod : Boolean = {
641641 // Currently the compiler does not allow overriding some of the methods generated for case classes
642642 d.symbol.flags.is(Flags .Synthetic ) &&
643643 (d match {
@@ -652,7 +652,7 @@ trait Printers
652652 })
653653 }
654654 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
656656 }
657657 val stats1 = stats.collect {
658658 case IsDefinition (stat) if keepDefinition(stat) => stat
You can’t perform that action at this time.
0 commit comments