- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
compiler synthetic flag for automatically generated methods of case classes
Tue, 2011-07-26, 19:35
Hi,
(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.
Thanks,
PS