- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for InvalidGoFiles (0.29 sec)
-
src/cmd/go/testdata/script/list_issue_56509.txt
# Test that a directory with an .s file that has a comment that can't # be parsed isn't matched as a go directory. (This was happening because # non-go files with unparsable comments were being added to InvalidGoFiles # leading the package matching code to think there were Go files in the # directory.) cd bar go list ./... ! stdout . cd .. [short] skip # Test that an unparsable .s file is completely ignored when its name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 21:02:24 UTC 2022 - 740 bytes - Viewed (0) -
src/go/build/build_test.go
t.Errorf("pkg.GoFiles = %q; want %q", pkg.GoFiles, wantGoFiles) } if wantInvalidFiles := []string{"file_appengine.go"}; !reflect.DeepEqual(pkg.InvalidGoFiles, wantInvalidFiles) { t.Errorf("pkg.InvalidGoFiles = %q; want %q", pkg.InvalidGoFiles, wantInvalidFiles) } } func TestLocalDirectory(t *testing.T) { if runtime.GOOS == "ios" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 23.9K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
var badGoError error badGoFiles := make(map[string]bool) badGoFile := func(name string, err error) { if badGoError == nil { badGoError = err } if !badGoFiles[name] { p.InvalidGoFiles = append(p.InvalidGoFiles, name) badGoFiles[name] = true } } var Sfiles []string // files with ".S"(capital S)/.sx(capital s equivalent for case insensitive filesystems) var firstFile string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/go/internal/search/search.go
// behavior means people miss serious mistakes. // See golang.org/issue/11407. if p, err := cfg.BuildContext.ImportDir(path, 0); err != nil && (p == nil || len(p.InvalidGoFiles) == 0) { if _, noGo := err.(*build.NoGoError); noGo { // The package does not actually exist, so record neither the package // nor the error. return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:05 UTC 2023 - 15.4K bytes - Viewed (0) -
src/go/build/build.go
var badGoError error badGoFiles := make(map[string]bool) badGoFile := func(name string, err error) { if badGoError == nil { badGoError = err } if !badGoFiles[name] { p.InvalidGoFiles = append(p.InvalidGoFiles, name) badGoFiles[name] = true } } var Sfiles []string // files with ".S"(capital S)/.sx(capital s equivalent for case insensitive filesystems) var firstFile, firstCommentFile string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
p.Goroot = pp.Goroot p.Standard = p.Goroot && p.ImportPath != "" && search.IsStandardImportPath(p.ImportPath) p.GoFiles = pp.GoFiles p.CgoFiles = pp.CgoFiles p.IgnoredGoFiles = pp.IgnoredGoFiles p.InvalidGoFiles = pp.InvalidGoFiles p.IgnoredOtherFiles = pp.IgnoredOtherFiles p.CFiles = pp.CFiles p.CXXFiles = pp.CXXFiles p.MFiles = pp.MFiles p.HFiles = pp.HFiles p.FFiles = pp.FFiles p.SFiles = pp.SFiles
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Package.IgnoredOtherFiles", Field, 16}, {"Package.ImportComment", Field, 4}, {"Package.ImportPath", Field, 0}, {"Package.ImportPos", Field, 0}, {"Package.Imports", Field, 0}, {"Package.InvalidGoFiles", Field, 6}, {"Package.MFiles", Field, 3}, {"Package.Name", Field, 0}, {"Package.PkgObj", Field, 0}, {"Package.PkgRoot", Field, 0}, {"Package.PkgTargetRoot", Field, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)