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: not inlined closures can't inline inner closures #41988
What version of Go are you using (
The issue here is we don't currently support inlining functions that contain closures. We'd first need to inline
Escape analysis is a red herring here. Escape analysis runs after inlining and doesn't affect inlining decisions.