Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compMem1 (0.14 sec)

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

    func close2() {
    	f1 := func() (ch chan int) { return }
    	f2 := func() (ch chan int, x int) { return }
    	close(f0 /* ERROR "used as value" */ ())
    	close(f1())
    	close(f2()) // ERROR "too many arguments"
    }
    
    func complex1() {
    	var i32 int32
    	var f32 float32
    	var f64 float64
    	var c64 complex64
    	var c128 complex128
    	_ = complex() // ERROR "not enough arguments"
    	_ = complex(1) // ERROR "not enough arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top