Skip to content

Commit 07a5961

Browse files
nicolasstuckismarter
authored andcommitted
Remove unnecessary check
1 parent a8c7511 commit 07a5961

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,6 @@ trait Printers
652652
n == "copy" ||
653653
n.matches("copy\\$default\\$[1-9][0-9]*") || // default parameters for the copy method
654654
n.matches("_[1-9][0-9]*") || // Getters from Product
655-
n == "writeReplace" || // Case class serialization
656655
n == "productElementName"
657656
case _ => false
658657
})

0 commit comments

Comments
 (0)