aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-27 17:44:02 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-04 13:29:38 +0200
commit91a26b3f42d1218015acb9b7e1bfc180e3ed779b (patch)
tree63ba813e4b2a806da9f170624f03bad72d0e08dd /tests
parentcf10e28a54aaeab124f9a939f71da7e09d299bcb (diff)
downloaddotty-91a26b3f42d1218015acb9b7e1bfc180e3ed779b.tar.gz
dotty-91a26b3f42d1218015acb9b7e1bfc180e3ed779b.tar.bz2
dotty-91a26b3f42d1218015acb9b7e1bfc180e3ed779b.zip
Support comma-separated enum constants
Diffstat (limited to 'tests')
-rw-r--r--tests/run/enum-Color.scala4
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 {