Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,782 for better (0.17 sec)

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

    # Issue 66207: provide a better error message when there's no
    # go directive in a go.work file so 1.18 is implicitly required.
    
    ! go list
    stderr 'go: module . listed in go.work file requires go >= 1.21, but go.work implicitly requires go 1.18; to update it:\s+go work use'
    
    go work use
    go list
    stdout foo
    
    -- go.work --
    use .
    -- go.mod --
    module foo
    
    go 1.21
    -- foo.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:35:47 UTC 2024
    - 384 bytes
    - Viewed (0)
  2. releasenotes/notes/authz-ext-authz.yaml

      - **Deprecated** the `include_headers_in_check` field with the new `include_request_headers_in_check` field for better naming....
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 29 06:43:43 UTC 2021
    - 1K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue49112.go

    package p
    
    func f[P int](P) {}
    
    func _() {
    	_ = f[int]
    	_ = f[[ /* ERROR "[]int does not satisfy int ([]int missing in int)" */ ]int]
    
    	f(0)
    	f /* ERROR "P (type []int) does not satisfy int" */ ([]int{}) // TODO(gri) better error message
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 22:48:09 UTC 2023
    - 400 bytes
    - Viewed (0)
  4. src/go/parser/testdata/issue11377.src

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test case for go.dev/issue/11377: Better synchronization of
    // parser after certain syntax errors.
    
    package p
    
    func bad1() {
        if f()) /* ERROR "expected ';', found '\)'" */ {
            return
        }
    }
    
    // There shouldn't be any errors down below.
    
    func F1() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 542 bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectIdentifier.java

     * limitations under the License.
     */
    package org.gradle.api.internal.project;
    
    import javax.annotation.Nullable;
    import java.io.File;
    
    // TODO need a better name for this
    public interface ProjectIdentifier {
        String getName();
    
        String getPath();
    
        @Nullable
        ProjectIdentifier getParentIdentifier();
    
        File getProjectDir();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 09 14:19:30 UTC 2021
    - 947 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/cmd/bisect/rand.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Starting in Go 1.20, the global rand is auto-seeded,
    // with a better value than the current Unix nanoseconds.
    // Only seed if we're using older versions of Go.
    
    //go:build !go1.20
    
    package main
    
    import (
    	"math/rand"
    	"time"
    )
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:10 UTC 2023
    - 442 bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/DirectInstantiator.java

    import java.lang.reflect.InvocationTargetException;
    import java.util.Arrays;
    
    /**
     * You should use the methods of {@link org.gradle.api.internal.InstantiatorFactory} instead of this type, as it will give better error reporting, more consistent behaviour and better performance.
     * This type will be retired in favor of {@link org.gradle.api.internal.InstantiatorFactory} at some point. Currently it is too tangled with a few things to just remove.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/testdata/issue31092.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test cases for go.dev/issue/31092: Better synchronization of
    // parser after seeing an := rather than an = in a const,
    // type, or variable declaration.
    
    package p
    
    const _ /* ERROR unexpected := */ := 0
    type _ /* ERROR unexpected := */ := int
    var _ /* ERROR unexpected := */ := 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 12:49:49 UTC 2023
    - 529 bytes
    - Viewed (0)
  9. src/io/ioutil/ioutil_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	filename := f.Name()
    	data := "Programming today is a race between software engineers striving to " +
    		"build bigger and better idiot-proof programs, and the Universe trying " +
    		"to produce bigger and better idiots. So far, the Universe is winning."
    
    	if err := WriteFile(filename, []byte(data), 0644); err != nil {
    		t.Fatalf("WriteFile %s: %v", filename, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue48619.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func f[P any](a, _ P) {
    	var x int
    	// TODO(gri) these error messages, while correct, could be better
    	f(a, x /* ERROR "type int of x does not match inferred type P for P" */)
    	f(x, a /* ERROR "type P of a does not match inferred type int for P" */)
    }
    
    func g[P any](a, b P) {
    	g(a, b)
    	g(&a, &b)
    	g([]P{}, []P{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 575 bytes
    - Viewed (0)
Back to top