list literal gotcha and suggestion

Joshua Bloch jjb at google.com
Mon Sep 28 17:48:22 PDT 2009


Paul,
I'm not sure what you mean.  If you mean type parameter, no.  But if you
mean List vs. Set vs. Map, yes, the compiler needs a different syntax to
tell them apart.

        Josh

On Mon, Sep 28, 2009 at 1:53 PM, Paul Benedict <pbenedict at apache.org> wrote:

> Joshua,
>
> What will the official proposal be? If a different syntax is required to
> initialize based on the type, it's too much thought for something so
> trivial.
>
> Paul
>
>



More information about the coin-dev mailing list