Re: [go-nuts] Re: [RFC] Yet another proposal for Go2 error handling

2023-06-18 Thread Jan Pfeifer
or handling proposal would cover this use case. On Sun, Jun 18, 2023 at 5:11 PM Robert Engels wrote: > Seems the easiest way to address that is with a DSL and a code generator. > > On Jun 18, 2023, at 9:47 AM, Jan Pfeifer wrote: > >  > hi Shulhan, I see your points, thank

Re: [go-nuts] Re: [RFC] Yet another proposal for Go2 error handling

2023-06-18 Thread Jan Pfeifer
hi Shulhan, I see your points, thanks for the reply. Let me comment on them below: On Sat, Jun 17, 2023 at 9:21 AM Shulhan wrote: > Hi Jan, thanks for response. > > On Mon, 5 Jun 2023 01:06:37 -0700 (PDT) > Jan wrote: > > > Repeating Justin's consideration: one of my (and from colleagues I > >

Re: [go-nuts] CGO Struct used as type parameter causes issue in Go 1.20

2023-02-16 Thread Jan Pfeifer
f("y.Wrapper=%x\n", y.Wrapper) > > } > > ``` > > > > In go 1.19.5 it prints: > > > > $ go run . > > x.Wrapper=0 > > y.Wrapper=0 > > > > In go 1.20 it prints: > > > > $ go run . > > # ... > > ./main.go:22:3: