diff options
author | Martin Odersky <odersky@gmail.com> | 2017-02-27 17:44:02 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-04 13:29:38 +0200 |
commit | 91a26b3f42d1218015acb9b7e1bfc180e3ed779b (patch) | |
tree | 63ba813e4b2a806da9f170624f03bad72d0e08dd /tests/run | |
parent | cf10e28a54aaeab124f9a939f71da7e09d299bcb (diff) | |
download | dotty-91a26b3f42d1218015acb9b7e1bfc180e3ed779b.tar.gz dotty-91a26b3f42d1218015acb9b7e1bfc180e3ed779b.tar.bz2 dotty-91a26b3f42d1218015acb9b7e1bfc180e3ed779b.zip |
Support comma-separated enum constants
Diffstat (limited to 'tests/run')
-rw-r--r-- | tests/run/enum-Color.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/run/enum-Color.scala b/tests/run/enum-Color.scala index 24916abee..1a077bf8e 100644 --- a/tests/run/enum-Color.scala +++ b/tests/run/enum-Color.scala @@ -1,7 +1,5 @@ enum Color { - case Red - case Green - case Blue + case Red, Green, Blue } object Test { |