You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplify API usage when the caller has multiple values they wish
to make a slice from, allowing:
Slice([]workflow.Value{v1, v2})
To be written as:
Slice(v1, v2)
For cases where the caller has a slice, they can do Slice(s...),
which is only 3 extra characters compared to now.
This was motivated by further uses of Slice in an upcoming CL.
For golang/go#53537.
Change-Id: I820ba6eaaa0d833259fed7bb6cc66b12b3f25611
Reviewed-on: https://go-review.googlesource.com/c/build/+/414034
Reviewed-by: Carlos Amedee <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Run-TryBot: Dmitri Shuralyov <[email protected]>
0 commit comments