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

predef patch + deprecation removal

2 replies
extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.

I have two patches I would like to commit, but I will wait for the
go-ahead from you. Both pass the test suite with flying colors.

On Sun, Nov 08, 2009 at 09:09:49PM +0100, martin odersky wrote:
> I think indeed most (all?) things in Predef can go to scala package
> object. But we have to try this out to see whether it's really true.

This patch moves much of Predef into the package object, deletes some
deprecated bits and some I believe to be obsolete.

http://github.com/paulp/scala/commit/b8c923df3b07aed0cca7652b0ae102ee532...

This patch removes everything which according to jorge's spreadsheet has
been deprecated since at least 2.7.3 (and mostly since 2.6) with the
exception of the lower case type aliases, which will require additional
effort, and SUnit, which a lot of tests still use.

http://github.com/paulp/scala/commit/26b42f320aa836c02902e76f4de9c47d163...

odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
Re: predef patch + deprecation removal

Hi Paul,

I can't vouch for it, but I did not see any problems with your two
patches. If you can commit them in the next few hours they should make
it into the internal release candidate.

I could only see the diffs, so I could not tell what remains in
Predef. Is that just the implicits or is there anything else?

Cheers

extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: predef patch + deprecation removal

On Thu, Nov 12, 2009 at 10:02:47PM +0100, martin odersky wrote:
> I can't vouch for it, but I did not see any problems with your two
> patches. If you can commit them in the next few hours they should make
> it into the internal release candidate.

Done!

> I could only see the diffs, so I could not tell what remains in
> Predef. Is that just the implicits or is there anything else?

No, there is still quite a lot of stuff in Predef, and most of it also
should move to the package object without much trouble. That was an
incremental step only (I try not to spend tooo much time on patches I'm
not sure will go in) and I can finish/continue whenever it seems like a
good time to be touching Predef again.

I am testing an equality patch which I will check in shortly. It's a
little rushed but I have an appointment; I will polish the fringes more
in the near future.

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