Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for unpackRecv (0.17 sec)

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

    						}
    					} else {
    						check.declare(pkg.scope, s.Name, obj, nopos)
    					}
    				} else {
    					// method
    					// d.Recv != nil
    					ptr, recv, _ := check.unpackRecv(s.Recv.Type, false)
    					// Methods with invalid receiver cannot be associated to a type, and
    					// methods with blank _ names are never found; no need to collect any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/go/types/resolver.go

    					//                when type checking the function type. Confirm that
    					//                we don't need to check tparams here.
    
    					ptr, recv, _ := check.unpackRecv(d.decl.Recv.List[0].Type, false)
    					// (Methods with invalid receiver cannot be associated to a type, and
    					// methods with blank _ names are never found; no need to collect any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/signature.go

    		// - the receiver specification acts as local declaration for its type parameters, which may be blank
    		_, rname, rparams := check.unpackRecv(recvPar.Type, true)
    		if len(rparams) > 0 {
    			// The scope of the type parameter T in "func (r T[T]) f()"
    			// starts after f, not at "r"; see #52038.
    			scopePos := ftyp.Pos()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. src/go/types/signature.go

    		// - the receiver specification acts as local declaration for its type parameters, which may be blank
    		_, rname, rparams := check.unpackRecv(recvPar.List[0].Type, true)
    		if len(rparams) > 0 {
    			// The scope of the type parameter T in "func (r T[T]) f()"
    			// starts after f, not at "r"; see #52038.
    			scopePos := ftyp.Params.Pos()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top