aboutsummaryrefslogtreecommitdiff
path: root/tests/run/enum-Option.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-14 09:44:07 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-04 13:29:38 +0200
commitc58555e434d886e079104b0311ecb523f4ee1b40 (patch)
treeca2e0eb307206f86862d1012130dc3b1f1e4cf66 /tests/run/enum-Option.scala
parenta30e7ecabc84583fa93bc215b1d1b5186caec07b (diff)
downloaddotty-c58555e434d886e079104b0311ecb523f4ee1b40.tar.gz
dotty-c58555e434d886e079104b0311ecb523f4ee1b40.tar.bz2
dotty-c58555e434d886e079104b0311ecb523f4ee1b40.zip
Don't change the return type of the `copy` method
`copy` should always return the type of it's rhs. The discussion of #1970 concluded that no special treatment for enums is needed.
Diffstat (limited to 'tests/run/enum-Option.scala')
0 files changed, 0 insertions, 0 deletions