On Fri, Sep 29, 2017 at 6:55 AM,  <arod.lo...@gmail.com> wrote:
>
> Do you know why the compiler does not infer nested struct type? Was there
> any discussion about that?
>
> I find myself enjoying nested struct a lot when programming in Go. But, the
> initialisation is so cumbersome that I always end up removing the nested
> struct and giving a longer name to the fields.
>
> https://play.golang.org/p/MRcNDkJNb7

I'm not sure but I think you may be talking about
https://golang.org/issue/21496.

Ian

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