Re: [go-nuts] On tip, arguments of panic escape to heap

2021-05-23 Thread tapi...@gmail.com
got it. On Sunday, May 23, 2021 at 3:50:10 AM UTC-4 cuong.m...@gmail.com wrote: > Hi, > > It's normal, go1.16 and before is just incorrect for not reporting that > escaping. See: https://go-review.googlesource.com/c/go/+/284412 > > Cheers, > Cuong > > On Sun, May 23, 2021 at 2:43 PM tapi...@gmail

Re: [go-nuts] On tip, arguments of panic escape to heap

2021-05-23 Thread Cuong Manh Le
Hi, It's normal, go1.16 and before is just incorrect for not reporting that escaping. See: https://go-review.googlesource.com/c/go/+/284412 Cheers, Cuong On Sun, May 23, 2021 at 2:43 PM tapi...@gmail.com wrote: > Go 1.16 doesn't make this. > Is it nornal? > > package main > > func main(){ >

[go-nuts] On tip, arguments of panic escape to heap

2021-05-23 Thread tapi...@gmail.com
Go 1.16 doesn't make this. Is it nornal? package main func main(){ panic("abc") // "abc" escapes to heap } -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to g