Re: [go-nuts] [generics] Constraint type inference not working

2020-08-18 Thread jake...@gmail.com
Submitted https://github.com/golang/go/issues/40859 On Tuesday, August 18, 2020 at 12:59:21 AM UTC-4 Ian Lance Taylor wrote: > On Sun, Aug 16, 2020 at 7:42 AM jake...@gmail.com > wrote: > > > > When I try the example from the "Constraint type inference" section of > the Draft Design: >

Re: [go-nuts] [generics] Constraint type inference not working

2020-08-17 Thread Ian Lance Taylor
On Sun, Aug 16, 2020 at 7:42 AM jake...@gmail.com wrote: > > When I try the example from the "Constraint type inference" section of the > Draft Design: > https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md#constraint-type-inference > it does not seem to

[go-nuts] [generics] Constraint type inference not working

2020-08-16 Thread jake...@gmail.com
When I try the example from the "Constraint type inference" section of the Draft Design: https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md#constraint-type-inference it does not seem to actually work: https://go2goplay.golang.org/p/pfq3QV6gdgf What am