On 13 December 2017 at 09:13, Jan Mercl <0xj...@gmail.com> wrote:
> On Wed, Dec 13, 2017 at 10:04 AM dc0d <kaveh.shahbaz...@gmail.com> wrote:
>
>> This code compiles and generates no errors. Why?
>
> It's legal code according to the language specification.

To be fair, so is every other Go program with unused variables.
This looks like a bug to me - could you open an issue please, Kaveh?

-- 
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