diff options
author | Paul Phillips <paulp@improving.org> | 2011-02-08 08:47:29 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-02-08 08:47:29 +0000 |
commit | 3467ad57e4c2b56cdd02ce0c75af4716b5631a10 (patch) | |
tree | af5d632276e79a449e9971e94c25bec0c1fc73e4 /src/compiler/scala/tools/nsc/settings/AbsSettings.scala | |
parent | c89ea6e3ae82d9b6bacda25dceb74a958d2fa4f6 (diff) | |
download | scala-3467ad57e4c2b56cdd02ce0c75af4716b5631a10.tar.gz scala-3467ad57e4c2b56cdd02ce0c75af4716b5631a10.tar.bz2 scala-3467ad57e4c2b56cdd02ce0c75af4716b5631a10.zip |
Working on fsc.
for me anyway, with this commit scripts will occasionally reuse a
compiler instance, instead of never. Since any tests I write will fail
on platforms which aren't mine, there are no tests. I might have to
start a platform-specific testing area to break some ice around these
huge untested zones. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/settings/AbsSettings.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/settings/AbsSettings.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/AbsSettings.scala b/src/compiler/scala/tools/nsc/settings/AbsSettings.scala index f09bc3edd1..a797cefef3 100644 --- a/src/compiler/scala/tools/nsc/settings/AbsSettings.scala +++ b/src/compiler/scala/tools/nsc/settings/AbsSettings.scala @@ -34,7 +34,7 @@ trait AbsSettings { // two AbsSettings objects are equal if their visible settings are equal. override def hashCode() = visibleSettings.hashCode override def equals(that: Any) = that match { - case s: AbsSettings => this.visibleSettings == s.visibleSettings + case s: AbsSettings => this.userSetSettings == s.userSetSettings case _ => false } override def toString() = "Settings {\n%s}\n" format (userSetSettings map (" " + _ + "\n") mkString) |