- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for IsComparable (0.18 sec)
-
src/go/types/instantiate.go
*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. if comparable(V, false /* strict comparability */, nil, nil) { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.8K bytes - Viewed (0) -
api/go1.18.txt
pkg go/types, func NewUnion([]*Term) *Union pkg go/types, method (*ArgumentError) Error() string pkg go/types, method (*ArgumentError) Unwrap() error pkg go/types, method (*Interface) IsComparable() bool pkg go/types, method (*Interface) IsImplicit() bool pkg go/types, method (*Interface) IsMethodSet() bool pkg go/types, method (*Interface) MarkImplicit() pkg go/types, method (*Named) Origin() *Named
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
src/cmd/compile/internal/types2/instantiate.go
*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. if comparable(V, false /* strict comparability */, nil, nil) { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.7K bytes - Viewed (0) -
src/go/types/predicates.go
if reportf != nil { reportf("%s cannot be compared", t) } return false } return true case *Interface: if dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen) { return true } if reportf != nil { if t.typeSet().IsEmpty() { reportf("empty type set") } else { reportf("incomparable types in type set") } } // fallthrough
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/predicates.go
if reportf != nil { reportf("%s cannot be compared", t) } return false } return true case *Interface: if dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen) { return true } if reportf != nil { if t.typeSet().IsEmpty() { reportf("empty type set") } else { reportf("incomparable types in type set") } } // fallthrough
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*Interface).Embedded", Method, 5}, {"(*Interface).EmbeddedType", Method, 11}, {"(*Interface).Empty", Method, 5}, {"(*Interface).ExplicitMethod", Method, 5}, {"(*Interface).IsComparable", Method, 18}, {"(*Interface).IsImplicit", Method, 18}, {"(*Interface).IsMethodSet", Method, 18}, {"(*Interface).MarkImplicit", Method, 18}, {"(*Interface).Method", Method, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)