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
We should indeed rewrite only LinearSeq.apply(...) to List.apply(...). Occurrences of LinearSeq in type position should not be changed. If we want to not change how types are inferred, we could rewrite to List.apply(...): LinearSeq[X] instead.
The Subclass of LinearSeq are:
List
,Stream
,Queue
,Stack
.It would break with the following call at use site:
becomes
The text was updated successfully, but these errors were encountered: