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: inlining isn't performed on generated init functions #20321
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
@mdempsky - I have tested that your fix works.
I have not touched the compiler before. Do you think this is as trivial as just adding that one line ? (I can send the CL in that case) Or would you want tests too ? (I would need some guidance in that case).
Or if you think it's better you do it yourself, that is fine too. Let me know.
Yes, I think it's that simple.
Tests would be good. I'd expect you could write an