Generated code doesn't take into account whether a function parameter might shadow an imported package name.
Expected behavior
The generated code should use imported package names or aliases which don't conflict with parameters. Parameter names should ideally remain the same since they are user-facing.
Actual behavior
Generated code doesn't take into account whether a function parameter might shadow an imported package name.
Expected behavior
The generated code should use imported package names or aliases which don't conflict with parameters. Parameter names should ideally remain the same since they are user-facing.
To Reproduce
The generated code produces functions like this (note the
container string
argument):Additional Information
Triage Notes for the Maintainers