- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for InitFileVersions (0.25 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/versions/types_go121.go
// this tool can support. // // There are no features currently in x/tools that need to tell fine grained // differences for versions <1.22. return toolchain } // InitFileVersions is a noop when compiled with this Go version.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 938 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/types_go122.go
return v } // Note: we could instead return runtime.Version() [if valid]. // This would act as a max version on what a tool can support. return Future } // InitFileVersions initializes info to record Go versions for Go files. func InitFileVersions(info *types.Info) { info.FileVersions = make(map[*ast.File]string)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
Instances: make(map[*ast.Ident]types.Instance), Scopes: make(map[ast.Node]*types.Scope), Selections: make(map[*ast.SelectorExpr]*types.Selection), } versions.InitFileVersions(info) pkg, err := tc.Check(cfg.ImportPath, fset, files, info) if err != nil { if cfg.SucceedOnTypecheckFailure { // Silently succeed; let the compiler // report type errors. err = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0)