- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HasNil (0.21 sec)
-
src/go/types/expr.go
if allString(x.typ) != allString(y.typ) { return false } // Untyped nil can only convert to a type that has a nil. if x.isNil() { return hasNil(y.typ) } if y.isNil() { return hasNil(x.typ) } // An untyped operand cannot convert to a pointer. // TODO(gri) generalize to type parameters if isPointer(x.typ) || isPointer(y.typ) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
if allString(x.typ) != allString(y.typ) { return false } // Untyped nil can only convert to a type that has a nil. if x.isNil() { return hasNil(y.typ) } if y.isNil() { return hasNil(x.typ) } // An untyped operand cannot convert to a pointer. // TODO(gri) generalize to type parameters if isPointer(x.typ) || isPointer(y.typ) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0)