Re: [go-nuts] method resolution order

2020-09-16 Thread 'Axel Wagner' via golang-nuts
On Wed, Sep 16, 2020 at 10:51 AM Stephan Lukits wrote: > Assume a public interface I with two methods NotInS and M whereas NotInS > is calling M. An implementation i of I which implements NotInS and M as > well as a specialization s of i which only implements M. Finally a > constructor whose

[go-nuts] method resolution order

2020-09-16 Thread Stephan Lukits
Assume a public interface I with two methods NotInS and M whereas NotInS is calling M. An implementation i of I which implements NotInS and M as well as a specialization s of i which only implements M. Finally a constructor whose return-type is I returns a pointer to an instance of s.