- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for replaceRecvType (0.17 sec)
-
src/cmd/compile/internal/types2/subst.go
} } return } // replaceRecvType updates any function receivers that have type old to have // type new. It does not modify the input slice; if modifications are required, // the input slice and any affected signatures will be copied before mutating. // // The resulting out slice contains the updated functions, and copied reports // if anything was modified.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
src/go/types/subst.go
} } return } // replaceRecvType updates any function receivers that have type old to have // type new. It does not modify the input slice; if modifications are required, // the input slice and any affected signatures will be copied before mutating. // // The resulting out slice contains the updated functions, and copied reports // if anything was modified.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// its methods accurately -- we set the receiver of interface methods on // the RHS of a type declaration to the defined type. if iface, _ := underlying.(*Interface); iface != nil { if methods, copied := replaceRecvType(iface.methods, orig, n); copied { // If the underlying type doesn't actually use type parameters, it's // possible that it wasn't substituted. In this case we need to create
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/go/types/named.go
// its methods accurately -- we set the receiver of interface methods on // the RHS of a type declaration to the defined type. if iface, _ := underlying.(*Interface); iface != nil { if methods, copied := replaceRecvType(iface.methods, orig, n); copied { // If the underlying type doesn't actually use type parameters, it's // possible that it wasn't substituted. In this case we need to create
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0)