weak: Make
panics on pointers to objects not allocated in heap
#71726
Labels
BugReport
Issues describing a possible bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Go version
1.24
Output of
go env
in your module/workspace:What did you do?
Another case
What did you see happen?
What did you expect to see?
I expect no panics for this cases.
The text was updated successfully, but these errors were encountered: