Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsMethodApplicable (0.18 sec)

  1. src/cmd/compile/internal/types/type.go

    func IsInterfaceMethod(f *Type) bool {
    	return f.Recv().Type == FakeRecvType()
    }
    
    // IsMethodApplicable reports whether method m can be called on a
    // value of type t. This is necessary because we compute a single
    // method set for both T and *T, but some *T methods are not
    // applicable to T receivers.
    func IsMethodApplicable(t *Type, m *Field) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top