compiler: disambiguate function-local named types (#5336)

* compiler: make getTypeCodeName a method on compilerContext

* testdata: add regression tests for function-local named types

* compiler: disambiguate function-local named types

* Some PR feedback
This commit is contained in:
Jake Bailey
2026-06-05 02:04:44 -07:00
committed by GitHub
parent 41f666c670
commit 1b9bb143bf
10 changed files with 644 additions and 19 deletions
+2
View File
@@ -76,6 +76,8 @@ func TestBuild(t *testing.T) {
"init_multi.go",
"interface.go",
"json.go",
"localtypes/",
"localtypes.go",
"map.go",
"map_bigkey.go",
"math.go",