diff options
author | Paul Phillips <paulp@improving.org> | 2009-11-20 15:16:45 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-11-20 15:16:45 +0000 |
commit | f7b8e8f346fed1d8128976db959bff7001ed1d57 (patch) | |
tree | 59f18491ee87c9f33922b510f071f27013b355a6 /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala | |
parent | 99d8d53c36cb2283df9d42b25273aeba594e82b5 (diff) | |
download | scala-f7b8e8f346fed1d8128976db959bff7001ed1d57.tar.gz scala-f7b8e8f346fed1d8128976db959bff7001ed1d57.tar.bz2 scala-f7b8e8f346fed1d8128976db959bff7001ed1d57.zip |
More world-shaking deprecation work.
object, updating some @deprecated messages to give realistic
alternatives, properly resolving the semantic mismatch between List.--
and diff, its once-recommended but inequivalent alternative.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/RefChecks.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala index 916ed69b67..fbe01c7fac 100644 --- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala +++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala @@ -668,7 +668,7 @@ abstract class RefChecks extends InfoTransform { class LevelInfo(val outer: LevelInfo) { val scope: Scope = if (outer eq null) new Scope else new Scope(outer.scope) - var maxindex: Int = Math.MIN_INT + var maxindex: Int = Int.MinValue var refpos: Position = _ var refsym: Symbol = _ } |