Thanks.
https://github.com/golang/go/issues/68903
Peter
On Thursday 15 August 2024 at 18:17:53 UTC+1 Ian Lance Taylor wrote:
> On Thu, Aug 15, 2024 at 9:59 AM 'Peter Hynes' via golang-nuts
> wrote:
> >
> > We have some code that works fine in Go 1.22, but throws a
Hi community,
We have some code that works fine in Go 1.22, but throws a compiler error
in Go 1.23.
We've recreated the issue with a simple example:
```
package main
import (
"fmt"
)
type A = []string
func m[T ~A](a T) {
fmt.Println(a[0])
}
func main() {
b := []string{"value"}
m[A](b)
}
``