Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for NONE (0.26 sec)

  1. src/cmd/go/testdata/script/gotoolchain_local.txt

    go mod edit -go=1.499 -toolchain=none
    go version
    stdout go1.500-bigcorp
    
    go mod edit -go=1.499 -toolchain=go1.499
    go version
    stdout go1.500-bigcorp
    
    go mod edit -go=1.500 -toolchain=none
    go version
    stdout go1.500-bigcorp
    
    go mod edit -go=1.500 -toolchain=go1.500
    go version
    stdout go1.500-bigcorp
    
    go mod edit -go=1.501 -toolchain=none
    go version
    stdout go1.501
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 21:19:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_tag_goexperiment.txt

    [short] skip
    # Reset all experiments so fieldtrack is definitely off.
    env GOEXPERIMENT=none
    go run m
    stderr 'fieldtrack off'
    # Turn fieldtrack on.
    env GOEXPERIMENT=none,fieldtrack
    go run m
    stderr 'fieldtrack on'
    
    -- ft_off.go --
    // +build !goexperiment.fieldtrack
    
    package main
    
    func main() {
    	println("fieldtrack off")
    }
    
    -- ft_on.go --
    // +build goexperiment.fieldtrack
    
    package main
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 19 02:43:30 UTC 2021
    - 460 bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/mvs.go

    // m.Version, or version "none" if no prior version is tagged.
    //
    // Since the version of a main module is not found in the version list,
    // it has no previous version.
    func previousVersion(ctx context.Context, m module.Version) (module.Version, error) {
    	if m.Version == "" && MainModules.Contains(m.Path) {
    		return module.Version{Path: m.Path, Version: "none"}, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_edit_go.txt

    # Reverting the version should force a rebuild and error instead of using
    # the cached 1.9 build. (https://golang.org/issue/37804)
    go mod edit -go=1.8
    ! go build
    stderr 'type alias requires'
    
    # go=none should drop the line
    go mod edit -go=none
    ! grep go go.mod
    
    -- go.mod --
    module m
    go 1.8
    
    -- alias.go --
    package alias
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:10 UTC 2024
    - 506 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/gotoolchain_issue66175.txt

    env GOTOOLCHAIN=auto
    rm go.mod
    go mod init m
    go mod edit -go=1.300 -toolchain=none
    ! go version
    stderr 'go: downloading go1.300.0 '
    
    rm go.mod
    go mod init m
    go mod edit -go=1.21 -toolchain=none
    ! go version
    stderr 'go: downloading go1.21.0 '
    
    rm go.mod
    go mod init m
    go mod edit -go=1.22 -toolchain=none
    ! go version
    stderr 'go: downloading go1.22.0 '
    
    rm go.mod
    go mod init m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 21:32:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_lazy_downgrade.txt

    go list -m all
    stdout '^example.com/a v0.1.0 '
    stdout '^example.com/b v0.2.0 '
    stdout '^example.com/c v0.1.0 '
    
    # Removing c entirely should also remove the a and b that require it.
    
    go get example.com/c@none
    go list -m all
    ! stdout '^example.com/a '
    ! stdout '^example.com/b '
    ! stdout '^example.com/c '
    
    
    # With lazy loading, downgrading c should work the same way, but dependencies
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/expr_test.go

    				t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error)
    			}
    			continue
    		}
    		if !strings.Contains(err.Error(), test.error) {
    			t.Errorf("#%d: expected error %q; got %q", i, test.error, err)
    			continue
    		}
    	}
    }
    
    func runBadTest(i int, test badExprTest, t *testing.T) (err error) {
    	p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_gonoproxy.txt

    # GONOSUMDB bypasses sumdb, for rsc.io/quote, rsc.io/sampler, golang.org/x/text
    env GONOSUMDB='*/quote,*/*mple*,golang.org/x'
    go get rsc.io/quote
    rm go.sum
    env GOPRIVATE='*/quote,*/*mple*,golang.org/x'
    env GONOPROXY=none # that is, proxy all despite GOPRIVATE
    go get rsc.io/quote
    
    # Download .info files needed for 'go list -m all' later.
    # TODO(#42723): either 'go list -m' should not read these files,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_toolchain.txt

    env TESTGO_VERSION_SWITCH=switch
    
    go get toolchain@go1.22.1
    stderr '^go: added toolchain go1.22.1$'
    ! stderr '(added|removed|upgraded|downgraded) go'
    grep 'toolchain go1.22.1' go.mod
    
    go get toolchain@none
    stderr '^go: removed toolchain go1.22.1$'
    ! stderr '(added|removed|upgraded|downgraded) go'
    ! grep toolchain go.mod
    
    go get toolchain@go1.22.1
    stderr '^go: added toolchain go1.22.1$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 22:42:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_get_toolchain.txt

    go get toolchain@go1.22.1
    go get toolchain@patch
    stderr '^go: added toolchain go1.22.9$'
    grep 'go 1.22.1' go.mod
    grep 'toolchain go1.22.9' go.mod
    go get go@1.22.9 toolchain@none
    grep 'go 1.22.9' go.mod
    ! grep 'toolchain go1.22.9' go.mod
    
    # go get toolchain@go1.24 does NOT find the release candidate
    ! go get toolchain@go1.24
    stderr '^go: toolchain@go1.24: no matching versions for query "go1.24"$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 19:33:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top