- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DepsErrors (0.1 sec)
-
src/cmd/go/testdata/script/list_import_cycle_deps_errors.txt
go list -e -deps -json=ImportPath,Error,DepsErrors m/a cmp stdout want -- want -- { "ImportPath": "m/c", "DepsErrors": [ { "ImportStack": [ "m/a", "m/b", "m/c", "m/a" ], "Pos": "", "Err": "import cycle not allowed" } ] } { "ImportPath": "m/b", "DepsErrors": [ { "ImportStack": [ "m/a", "m/b", "m/c", "m/a" ], "Pos": "",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 19:18:27 UTC 2023 - 880 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_issue_59905.txt
# Expect no panic go list -f '{{if .DepsErrors}}{{.DepsErrors}}{{end}}' -export -e -deps cmpenv stdout wanterr_59905 # Expect no panic (Issue 61816) cp level1b_61816.txt level1b/pkg.go go list -f '{{if .DepsErrors}}{{.DepsErrors}}{{end}}' -export -e -deps cmpenv stdout wanterr_61816 -- wanterr_59905 -- [# test/main/level1a level1a${/}pkg.go:5:2: level2x redeclared in this block level1a${/}pkg.go:4:2: other declaration of level2x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 17:34:46 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_bad_import.txt
cd example.com # Without -e, listing an otherwise-valid package with an unsatisfied direct import should fail. # BUG: Today it succeeds. go list -f '{{if .Error}}error{{end}} {{if .Incomplete}}incomplete{{end}} {{range .DepsErrors}}bad dep: {{.Err}}{{end}}' example.com/direct ! stdout ^error stdout 'incomplete' stdout 'bad dep: .*example.com/notfound' # Listing with -deps should also fail. ! go list -deps example.com/direct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 06 18:54:25 UTC 2021 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_bad_import.txt
cd example.com # Without -e, listing an otherwise-valid package with an unsatisfied direct import should fail. # BUG: Today it succeeds. go list -f '{{if .Error}}error{{end}} {{if .Incomplete}}incomplete{{end}} {{range .DepsErrors}}bad dep: {{.Err}}{{end}}' example.com/direct ! stdout ^error stdout 'incomplete' stdout 'bad dep: .*example.com[/\\]notfound' # Listing with -deps should also fail. ! go list -deps example.com/direct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 09 20:53:04 UTC 2020 - 2.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/cmd_import_error.txt
# a clear error in module mode. ! go list cmd/unknown stderr '^package cmd/unknown is not in std \('$GOROOT'[/\\]src[/\\]cmd[/\\]unknown\)$' go list -f '{{range .DepsErrors}}{{.Err}}{{end}}' x.go stdout '^package cmd/unknown is not in std \('$GOROOT'[/\\]src[/\\]cmd[/\\]unknown\)$' -- x.go -- package x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 464 bytes - Viewed (0)