Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: escape analysis does't treat reflect header correctly #39497
What version of Go are you using (
But if I change x2 like this:
It will behave the same as x1. In this code, StringHeader is also the sole reference to that piece of data. Can I consider this version of x2 is also wrong, and it has the same behavior as x2 coincidently just under our current implementation and may change its behavior in the future?