Mon, 12 Oct 2009 04:55:07 -0400, Justin Johansson thusly wrote:

> Would it be possible for the compiler to infer the declared enum type,
> in this case Color, making for abbreviation of the enum member names in
> the case clauses [snip]?

Yes. Java does this.

Reply via email to