Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for issue10260 (0.19 sec)

  1. src/internal/types/testdata/check/issues0.go

    // issue10260
    // Check that error messages explain reason for interface assignment failures.
    type (
    	I0 interface{}
    	I1 interface{ foo() }
    	I2 interface{ foo(x int) }
    	T0 struct{}
    	T1 struct{}
    	T2 struct{}
    )
    
    func (*T1) foo() {}
    func (*T2) foo(x int) {}
    
    func issue10260() {
    	var (
    		i0 I0
    		i1 I1
    		i2 I2
    		t0 *T0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue9026/issue9026.go

    	//
    	// Brittle: the assertion may fail spuriously when the algorithm
    	// changes, but should remain stable otherwise.
    	got := fmt.Sprintf("%T %T", in, opts)
    	want := "issue9026._Ctype_struct___0 *issue9026._Ctype_struct___1"
    	if got != want {
    		t.Errorf("Non-deterministic type names: got %s, want %s", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. test/fixedbugs/issue13268.go

    // errorcheckoutput mechanism.
    
    package main
    
    import (
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	// create source
    	f, err := ioutil.TempFile("", "issue13268-")
    	if err != nil {
    		log.Fatalf("could not create source file: %v", err)
    	}
    	f.Write([]byte("package p\n\nfunc \xef\xef")) // if this fails, we will die later
    	f.Close()
    	defer os.Remove(f.Name())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 984 bytes
    - Viewed (0)
  4. test/fixedbugs/issue13265.go

    Dmitri Shuralyov <******@****.***> 1697569678 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 438 bytes
    - Viewed (0)
  5. test/fixedbugs/issue19261.go

    Dmitri Shuralyov <******@****.***> 1697569678 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 237 bytes
    - Viewed (0)
  6. test/fixedbugs/issue10607.go

    Dmitri Shuralyov <******@****.***> 1697569678 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 776 bytes
    - Viewed (0)
  7. test/fixedbugs/issue20250.go

    Dmitri Shuralyov <******@****.***> 1697569678 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 727 bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    // List of files that the compiler cannot errorcheck with the new typechecker (types2).
    var types2Failures = setOf(
    	"shift1.go",               // types2 reports two new errors which are probably not right
    	"fixedbugs/issue10700.go", // types2 should give hint about ptr to interface
    	"fixedbugs/issue18331.go", // missing error about misuse of //go:noescape (irgen needs code from noder)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top