Closed
Description
If possible please add a linter to detect such code:
i := 123
a := string(i)
Such code produces surprising results and can led to subtle bugs with string value collisions for distinct int values.
Relevant issue: golang/go#3939
If possible please add a linter to detect such code:
i := 123
a := string(i)
Such code produces surprising results and can led to subtle bugs with string value collisions for distinct int values.
Relevant issue: golang/go#3939