Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for issue11687 (0.38 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/go/parser/testdata/issue11377.src

    Robert Griesemer <******@****.***> 1698787325 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 542 bytes
    - Viewed (0)
  3. test/fixedbugs/issue11656.go

    Dmitri Shuralyov <******@****.***> 1697569678 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 700 bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue61685.go

    Robert Griesemer <******@****.***> 1702424416 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 14:32:38 UTC 2023
    - 343 bytes
    - Viewed (0)
  5. 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)
  6. test/fixedbugs/issue61187.go

    Keith Randall <******@****.***> 1688831197 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 10 16:29:42 UTC 2023
    - 458 bytes
    - Viewed (0)
  7. 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)
  8. test/escape2.go

    	var f func()
    	for {
    		x := new(int) // ERROR "new\(int\) escapes to heap$"
    		f = func() {  // ERROR "func literal escapes to heap$"
    			println(*x)
    		}
    	}
    	_ = f
    }
    
    func issue11387(x int) func() int {
    	f := func() int { return x }    // ERROR "func literal escapes to heap"
    	slice1 := []func() int{f}       // ERROR "\[\].* does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  9. test/escape2n.go

    	var f func()
    	for {
    		x := new(int) // ERROR "new\(int\) escapes to heap$"
    		f = func() {  // ERROR "func literal escapes to heap$"
    			println(*x)
    		}
    	}
    	_ = f
    }
    
    func issue11387(x int) func() int {
    	f := func() int { return x }    // ERROR "func literal escapes to heap"
    	slice1 := []func() int{f}       // ERROR "\[\].* does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  10. 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