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
One of the overloads on scala.collection.immutable.Queue's enqueue method takes a scala.collection.immutable.Iterable as argument, which can cause confusion because the Iterable imported through Predef is the scala.collection.Iterable. For example:
@som-snytt said:
This issue has more description, but is also inadvertently mentioned by an unrelated commit message, so closing in favor of the earlier issue.
One of the overloads on
scala.collection.immutable.Queue
'senqueue
method takes ascala.collection.immutable.Iterable
as argument, which can cause confusion because theIterable
imported throughPredef
is thescala.collection.Iterable
. For example:Since there's no reason to require an immutable iterable, it should be made more generic.
The text was updated successfully, but these errors were encountered: