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 <tapir....@gmail.com> wrote: > 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 golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/936dcc57-c507-402e-9811-4216c5d0f694n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/936dcc57-c507-402e-9811-4216c5d0f694n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CALS7p_cQX1p%2BC-SBD%3DGqq9Rpu1bqe%3DLCzS_JZPw11%3D5DLE%2BJOg%40mail.gmail.com.