build: instantiate generics

This commit is contained in:
visualfc
2024-06-18 12:20:54 +08:00
parent 2b491179f7
commit d59075e897
13 changed files with 672 additions and 9 deletions

View File

@@ -197,7 +197,7 @@ func isNeedRuntimeOrPyInit(pkg *packages.Package) (needRuntime, needPyInit bool)
}
const (
ssaBuildMode = ssa.SanityCheckFunctions
ssaBuildMode = ssa.SanityCheckFunctions | ssa.InstantiateGenerics
)
type context struct {