Thanks !

poniedziałek, 28 września 2020 o 19:00:10 UTC+2 bbse...@gmail.com 
napisał(a):

> On Mon, Sep 28, 2020 at 10:55 AM Michał Pawełek <mchle...@gmail.com> 
> wrote:
> >
> > https://play.golang.org/p/CBuzITRmTiP
> >
> > Why isn't T1 allowed to pass to f ?
>
> func f requires an argument of type T. You cannot pass a value of type
> T1. However, T1 has T embedded in it, so you can pass:
>
> f(t1.T)
>
>
> >
> > --
> > 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...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/76a2daf6-8b37-4b55-bfc0-c6621551e464n%40googlegroups.com
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/3c9c07ec-1dfa-4bd8-90fa-d3a95598ba86n%40googlegroups.com.

Reply via email to