Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LookupFieldOrMethod (0.2 sec)

  1. src/go/types/unify.go

    		if xi != nil {
    			// All xi methods must exist in y and corresponding signatures must unify.
    			xmethods := xi.typeSet().methods
    			for _, xm := range xmethods {
    				obj, _, _ := LookupFieldOrMethod(y, false, xm.pkg, xm.name)
    				if ym, _ := obj.(*Func); ym == nil || !u.nify(xm.typ, ym.typ, exact, p) {
    					return false
    				}
    			}
    			return true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/unify.go

    		if xi != nil {
    			// All xi methods must exist in y and corresponding signatures must unify.
    			xmethods := xi.typeSet().methods
    			for _, xm := range xmethods {
    				obj, _, _ := LookupFieldOrMethod(y, false, xm.pkg, xm.name)
    				if ym, _ := obj.(*Func); ym == nil || !u.nify(xm.typ, ym.typ, exact, p) {
    					return false
    				}
    			}
    			return true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top