Closed
Description
Syntectic copy
method in case classses has default arguments.
And leads to compilation error if user had also defined a copy
method with default arguments as in dotty-staging@202a377#diff-ca3386647f5386b6f70e99f1a9e188cdR1982
I guess desugaring should not synthesize a copy
method if user had defined any method named copy
.