list literal gotcha and suggestion

Reinier Zwitserloot reinier at zwitserloot.com
Tue Oct 6 13:48:08 PDT 2009


On 2009/06/10, at 21:32, Neal Gafter wrote:
> Not at all.  I believe that the cast would be unnecessary in  
> virtually all use contexts, just as the cast from "3" to "byte" is  
> unnnecessary in virtually all use contexts.

Doesn't coin include byte literals?

I think you overstate. "Virtually all use contexts"? I'd say that  
methods taking in a java.util.Collection is a pretty big use context.

  -- Reinier Zwitserloot



More information about the coin-dev mailing list