Files
deadprogram 6645f412ae compiler: disambiguate generic instances with function-local type aliases
x/tools go/ssa names instantiations using the type argument's String().
Function-local aliases like `type F = float64` therefore collide when two
callers use distinct aliases named F (Go 1.27's internal/strconv.ftoa32
and ftoa64 do exactly this). Extend localTypeArgsSuffix to detect local
aliases and include their declaration position, so the float32 and
float64 instantiations get distinct LLVM symbols.

Fixes wrong float formatting in strconv/math on Go 1.27, and adds a
regression test to testdata/localtypes.go.

Signed-off-by: deadprogram <ron@hybridgroup.com>
2026-07-12 12:28:48 +02:00
..
2025-02-25 14:41:42 +01:00
2026-07-06 21:58:48 +02:00
2021-09-27 15:47:12 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00