Details
-
Task
-
Resolution: Done
-
Major
-
master
-
None
-
0
Description
What's the issue?
Users currently have to type convert to use the slices functions when using a type alias.
func Filter[S []E, E any](s S, p ...func(e E) bool) S
|
What's the fix?
func Filter[S ~[]E, E any](s S, p ...func(e E) bool) S
|
Attachments
For Gerrit Dashboard: MB-59610 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
203020,2 | MB-59610 Allow type aliases in `functional` | master | tools-common | Status: MERGED | +2 | +1 |