Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expandUnderlying (0.14 sec)

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

    		check.ctxt = NewContext()
    	}
    	return check.ctxt
    }
    
    // expandUnderlying substitutes type arguments in the underlying type n.orig,
    // returning the result. Returns Typ[Invalid] if there was an error.
    func (n *Named) expandUnderlying() Type {
    	check := n.check
    	if check != nil && check.conf.Trace {
    		check.trace(n.obj.pos, "-- Named.expandUnderlying %s", n)
    		check.indent++
    		defer func() {
    			check.indent--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/go/types/named.go

    		check.ctxt = NewContext()
    	}
    	return check.ctxt
    }
    
    // expandUnderlying substitutes type arguments in the underlying type n.orig,
    // returning the result. Returns Typ[Invalid] if there was an error.
    func (n *Named) expandUnderlying() Type {
    	check := n.check
    	if check != nil && check.conf._Trace {
    		check.trace(n.obj.pos, "-- Named.expandUnderlying %s", n)
    		check.indent++
    		defer func() {
    			check.indent--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/subst.go

    			// method signatures do not depend on the type parameter P, but we still
    			// need to create new interface methods to hold the instantiated
    			// receiver. This is handled by Named.expandUnderlying.
    			iface.methods, _ = replaceRecvType(methods, t, iface)
    
    			// If check != nil, check.newInterface will have saved the interface for later completion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/go/types/subst.go

    			// method signatures do not depend on the type parameter P, but we still
    			// need to create new interface methods to hold the instantiated
    			// receiver. This is handled by Named.expandUnderlying.
    			iface.methods, _ = replaceRecvType(methods, t, iface)
    
    			// If check != nil, check.newInterface will have saved the interface for later completion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top