This is a usage signature. This is not a real signature, just what you usually see in the usual case.
Real Signature:
def :+ [B >: A, That] ( elem : B )(implicit bf : CanBuildFrom[Seq[A], B, That] ) : That
Which, as you can see, does not even guarantee the return of Seq , and even more so A
Daniel C. Sobral
source share