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
The LinearSeq#isEmpty, LinearSeq#head, and LinearSeq#tail methods should be abstract, so that it is obvious (and verified at compile time) that these methods must be implemented in order to have a working LinearSeq. Currently, they are not, and new LinearSeq[SomeType] {} is permitted at compile time but causes a stack overflow at run time.
Also, the LinearSeq documentation no longer says that these methods must be implemented. In 2.12 and earlier, this was in the documentation for LinearSeqOptimized, but it doesn't seem to have been brought over.