Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkComparability (0.26 sec)

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

    		if cause != nil {
    			*cause = check.sprintf("%s does not %s %s %s", V, verb, T, *cause)
    		}
    		return false
    	}
    
    	// Only check comparability if we don't have a more specific error.
    	checkComparability := func() bool {
    		if !Ti.IsComparable() {
    			return true
    		}
    		// If T is comparable, V must be comparable.
    		// If V is strictly comparable, we're done.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/go/types/instantiate.go

    		if cause != nil {
    			*cause = check.sprintf("%s does not %s %s %s", V, verb, T, *cause)
    		}
    		return false
    	}
    
    	// Only check comparability if we don't have a more specific error.
    	checkComparability := func() bool {
    		if !Ti.IsComparable() {
    			return true
    		}
    		// If T is comparable, V must be comparable.
    		// If V is strictly comparable, we're done.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top