list literal gotcha and suggestion
Paul Benedict
pbenedict at apache.org
Tue Oct 6 09:28:46 PDT 2009
Reinier,
>> Which newly introduced type is flexible enough to be capable of
>> converting it self both to a List<List<Object>> and to a List<Integer,
>> String> given: {{1, "one"}, {2, "two"}}?
Hopefully Neal can clarify. My reading of his words was for the
compiler, not the type, to have the know-how on the conversion. Did he
mean a public type? I don't know. It sounds like a type internal to
the compiler to re-interpret the tokens based on context.
Paul
More information about the coin-dev
mailing list