Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for typecheckfunc (0.3 sec)

  1. src/cmd/cgo/internal/testshared/testdata/issue25065/a.go

    //  1. referenced in a method expression
    //  2. not called
    //  3. not converted to an interface
    //  4. is a value method but the reference is to the pointer method
    //
    // These cases avoid the call to makefuncsym from typecheckfunc, but we
    // still need to call makefuncsym somehow or the symbol will not be defined.
    package issue25065
    
    type T int
    
    func (t T) M() {}
    
    func F() func(*T) {
    	return (*T).M
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 619 bytes
    - Viewed (0)
Back to top