Hi,
I recently made a video on fuzzing support in Go 1.18. I'd like to hear
your feedback if that's possible - https://youtu.be/w8STTZWdG9Y
Best,
Alex
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop
This is https://github.com/golang/go/issues/48522 which is described in the
original proposal document but was deemed inessential for the
implementation in 1.18. This will likely come in a later release.
On Monday, February 21, 2022 at 7:13:24 AM UTC-5 Brian Candler wrote:
> Just to add an
Just to add an observation, it also doesn't work if you embed the struct:
type A struct {
x int
}
type B struct {
A
}
...even though in non-generic code m.x would be valid if m is of type B.
On Monday, 21 February 2022 at 10:41:35 UTC Yulrizka wrote:
> Hi All,
>
> I'm just
Hi All,
I'm just trying generics and bump into this.
# command-line-arguments
./main.go:21:12: m.x undefined (type T has no field or method x)
this is the source code
package main
import "fmt"
type A struct {
x int
}
type B struct {
x int
y int
}
type Model interface {
A | B
}
func