Skip to content

Commit 11a7889

Browse files
Remove unnecessary check
1 parent 167eb86 commit 11a7889

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/src/scala/tasty/reflect/Printers.scala

-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,6 @@ trait Printers
646646
n == "copy" ||
647647
n.matches("copy\\$default\\$[1-9][0-9]*") || // default parameters for the copy method
648648
n.matches("_[1-9][0-9]*") || // Getters from Product
649-
n == "writeReplace" || // Case class serialization
650649
n == "productElementName"
651650
case _ => false
652651
})

0 commit comments

Comments
 (0)