From 91a26b3f42d1218015acb9b7e1bfc180e3ed779b Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 27 Feb 2017 17:44:02 +0100 Subject: Support comma-separated enum constants --- tests/run/enum-Color.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/run') 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 { -- cgit v1.2.3