We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func f(x, y, z int) map[int]int { return map[int]int{x: y, y: z, z: x} }
This code calls runtime.makemap with 0 as the size hint. It should pass 3 as the size hint.
runtime.makemap
See #15880 for a similar issue about static maps.
The text was updated successfully, but these errors were encountered:
1faea59
No branches or pull requests
This code calls
runtime.makemap
with 0 as the size hint. It should pass 3 as the size hint.See #15880 for a similar issue about static maps.
The text was updated successfully, but these errors were encountered: