cmd/compile: incorrect invalid field error in generic code #50148
Labels
FrozenDueToAge
generics
Issue is related to generics
okay-after-beta1
Used by release team to mark a release-blocker issue as okay to resolve either before or after beta1
Milestone
a.go:
b.go:
main.go:
This should compile successfully. Instead we get the error:
This is an error from the old typechecker when importing code (from b into main, I think). The error occurs in the phase where we're building more instantiations after inlining.
This example is reduced from an example generated by my generifier. It was originally package html_test importing package html importing a generified version of package string.
@danscales
The text was updated successfully, but these errors were encountered: