On Wednesday, 16 August 2017 05:16:45 UTC+2, Nate Finch wrote:
>
> This is an unfortunate side effect of using ... (a variadic) in append. 
>  Zero is a valid number of arguments to pass to it.
>
>>
>>
>> But append is not a normal function, it is an intrinsic, so the compiler 
could implement a check? It would have to be an error to have a single 
argument, which I presume would be acceptable? Are there likely to be buggy 
programs out there that would break if it did?

Lucio. 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to