cmd/compile: heap allocation of go:notinheap type via string conversion #28243
cmd/compile accepts this program, even though it involves a heap allocation of a go:notinheap type:
Unlikely that this would ever be written within package runtime, but seems worth preventing. I think it's just a matter of disallowing string -> T conversions where T is go:notinheap, like how *T to *U conversions are already special-cased for go:notinheap in convertop.
The text was updated successfully, but these errors were encountered: