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

Manifest hashCode and equals

1 reply
David Pollak
Joined: 2008-12-16,
User offline. Last seen 42 years 45 weeks ago.
Folks,

I'm using Scala 2.7.5 and it seems that Manifests do not have a stable hashCode or working equals methods.  Is this by design?  Will it be different in 2.8?

Thanks,

David

odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
Re: Manifest hashCode and equals

On Thu, Sep 10, 2009 at 7:38 PM, David Pollak
wrote:
> Folks,
>
> I'm using Scala 2.7.5 and it seems that Manifests do not have a stable
> hashCode or working equals methods.  Is this by design?  Will it be
> different in 2.8?

It's not by design but by omission. I hope we'll be able to change that for 2.8.

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