This page is no longer maintained — Please continue to the home page at www.scala-lang.org

status of MapLike#retain?

1 reply
odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
It currently says:

@deprecated("cannot be type inferred because of retain in Iterable")

This does not make sense to me. There is no retain in Iterable. Also, any deprecation message should propose a replacement and this one doesn't. Should we drop the @deprecated on this one?

Cheers

 -- Martin
dcsobral
Joined: 2009-04-23,
User offline. Last seen 38 weeks 5 days ago.
Re: status of MapLike#retain?
I was wondering about that, from the stack overflow question.

On Tue, Mar 23, 2010 at 8:19 PM, martin odersky <martin.odersky@epfl.ch> wrote:
It currently says:

@deprecated("cannot be type inferred because of retain in Iterable")

This does not make sense to me. There is no retain in Iterable. Also, any deprecation message should propose a replacement and this one doesn't. Should we drop the @deprecated on this one?

Cheers

 -- Martin



--
Daniel C. Sobral

I travel to the future all the time.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland