Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wrong_name (0.08 sec)

  1. src/cmd/compile/internal/types2/lookup.go

    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    	var f *Func // method on V, if found (state is one of ok, wrongName, wrongSig)
    
    	if u, _ := under(V).(*Interface); u != nil {
    		tset := u.typeSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. src/go/types/lookup.go

    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    	var f *Func // method on V, if found (state is one of ok, wrongName, wrongSig)
    
    	if u, _ := under(V).(*Interface); u != nil {
    		tset := u.typeSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top