This page is no longer maintained — Please continue to the home page at

compiler synthetic flag for automatically generated methods of case classes

No replies
Philippe Suter
Joined: 2011-07-26,
User offline. Last seen 42 years 45 weeks ago.


(My apologies if this is covered somewhere else, I couldn't find a
ticket or mailing list post about it.)

Is there any particular reason why the compiler doesn't add the
SYNTHETIC flag to the symbols it automatically generates for
"hashCode", "equals", "productArity", etc. in case classes? It does it
for the "copy" methods for instance.


Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland