diff options
author | Martin Odersky <odersky@gmail.com> | 2014-08-10 17:51:02 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-08-10 18:34:59 +0200 |
commit | f606a47894271540bc7b21eb8c7b5d85bd560f57 (patch) | |
tree | ffe5f5b218d9ac8018974dab6ac24dd0a3332675 /src/dotty/tools/dotc/core/Flags.scala | |
parent | c2cdd3a3dca2a629923327046b213addd93499fc (diff) | |
download | dotty-f606a47894271540bc7b21eb8c7b5d85bd560f57.tar.gz dotty-f606a47894271540bc7b21eb8c7b5d85bd560f57.tar.bz2 dotty-f606a47894271540bc7b21eb8c7b5d85bd560f57.zip |
Add Product{1,2} supertrait to case classes
Case classes with arity <= 1 now also get a ProductN parent trait.
This is necessary because we inherit productArity and Element methods
in case classes from the ProdictN trait.
Needed to add Product0 for this, which is not defined in Scala2.x.
Diffstat (limited to 'src/dotty/tools/dotc/core/Flags.scala')
0 files changed, 0 insertions, 0 deletions