-
Notifications
You must be signed in to change notification settings - Fork 7.6k
3.x: Disambiguate startWith(T|Iterable<T>)? #6122
Copy link
Copy link
Closed
Milestone
Description
We were using postfixes to avoid inference problems around operator methods (such as fromIterable vs fromArray) but there is at least one operator currently, startWith, that may exhibit type ambiguity. A dedicated postfixed name should resolve the issue, such as:
startWith(T)+startWithIterable(Iterable<T>)startWithItem(T)+startWith(Iterable<T>)+ removestartWith(T)startWithItem(T)+startWithIterable(Iterable<T>)+ removestartWith(T).
As a preparation, we can deprecate startWith(T) within 2.2.x in case option 2 or 3 is chosen.
Reactions are currently unavailable