Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for issue11687 (0.27 sec)

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

    	switch x {
    	case 9223372036854775808 /* ERROR "overflows int" */ :
    	}
    	var y float64
    	switch y {
    	case 9223372036854775808:
    	}
    }
    
    func issue11687() {
    	f := func() (_, _ int) { return }
    	switch f /* ERROR "multiple-value f" */ () {
    	}
    	var x int
    	switch f /* ERROR "multiple-value f" */ () {
    	case x:
    	}
    	switch x {
    	case f /* ERROR "multiple-value f" */ ():
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/issues0.go

    	}
    	type _ interface {
    		nosuchpkg /* ERROR "undefined: nosuchpkg" */ .Nosuchtype
    	}
    	type I interface {
    		I.m /* ERROR "I.m is not a type" */
    		m()
    	}
    }
    
    // issue11347
    // These should not crash.
    var a1, b1, c1 /* ERROR "cycle" */ b1 /* ERROR "b1 is not a type" */ = 0 > 0<<""[""[c1]]>c1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/cmd/internal/testdir/testdir_test.go

    	"fixedbugs/bug195.go", // types2 reports slight different errors, and an extra error
    	"fixedbugs/bug412.go", // types2 produces a follow-on error
    
    	"fixedbugs/issue11614.go", // types2 reports an extra error
    	"fixedbugs/issue17038.go", // types2 doesn't report a follow-on error (pref: types2)
    	"fixedbugs/issue23732.go", // types2 reports different (but ok) line numbers
    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