Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: bad stack for index panic in arg to inlined call #19799
At first glance I thought the line number was wrong, since main.f and main.main are not both on line 9.
But in fact the bug is that main.f shows up at all. The index panic happens preparing the argument to f, not in the inlined copy of f. The line number is correct - v is on line 9. What's wrong is that main.f shows up at all. It should not.