Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for recordCanon (0.5 sec)

  1. src/go/types/mono.go

    		}
    	}
    	err.report()
    }
    
    // recordCanon records that tpar is the canonical type parameter
    // corresponding to method type parameter mpar.
    func (w *monoGraph) recordCanon(mpar, tpar *TypeParam) {
    	if w.canon == nil {
    		w.canon = make(map[*TypeParam]*TypeParam)
    	}
    	w.canon[mpar] = tpar
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/mono.go

    		}
    	}
    	err.report()
    }
    
    // recordCanon records that tpar is the canonical type parameter
    // corresponding to method type parameter mpar.
    func (w *monoGraph) recordCanon(mpar, tpar *TypeParam) {
    	if w.canon == nil {
    		w.canon = make(map[*TypeParam]*TypeParam)
    	}
    	w.canon[mpar] = tpar
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/signature.go

    			}
    			// provide type parameter bounds
    			if len(tparams) == len(recvTParams) {
    				smap := makeRenameMap(recvTParams, tparams)
    				for i, tpar := range tparams {
    					recvTPar := recvTParams[i]
    					check.mono.recordCanon(tpar, recvTPar)
    					// recvTPar.bound is (possibly) parameterized in the context of the
    					// receiver type declaration. Substitute parameters for the current
    					// context.
    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

    			}
    			// provide type parameter bounds
    			if len(tparams) == len(recvTParams) {
    				smap := makeRenameMap(recvTParams, tparams)
    				for i, tpar := range tparams {
    					recvTPar := recvTParams[i]
    					check.mono.recordCanon(tpar, recvTPar)
    					// recvTPar.bound is (possibly) parameterized in the context of the
    					// receiver type declaration. Substitute parameters for the current
    					// context.
    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