Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertbig2ok (0.13 sec)

  1. test/interface/assertinline.go

    	return z, ok
    }
    
    func assertbig(x interface{}) complex128 {
    	return x.(complex128) // ERROR "type assertion inlined"
    }
    
    func assertbig2(x interface{}) (complex128, bool) {
    	z, ok := x.(complex128) // ERROR "type assertion inlined"
    	return z, ok
    }
    
    func assertbig2ok(x interface{}) (complex128, bool) {
    	_, ok := x.(complex128) // ERROR "type assertion inlined"
    	return 0, ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 21:33:03 UTC 2016
    - 1.8K bytes
    - Viewed (0)
Back to top