diff options
author | Paul Phillips <paulp@improving.org> | 2012-09-15 14:09:46 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-09-15 14:56:31 -0700 |
commit | ea0d891f238082089be037a0752215d9d21893cf (patch) | |
tree | b166354f6621cf4adec4cf722b62fbdb5a2000d5 /src/library/scala/io/Position.scala | |
parent | 24580ac84242679619d27f20258078dd012c120a (diff) | |
download | scala-ea0d891f238082089be037a0752215d9d21893cf.tar.gz scala-ea0d891f238082089be037a0752215d9d21893cf.tar.bz2 scala-ea0d891f238082089be037a0752215d9d21893cf.zip |
More relative path elimination.
Some names I missed in 55b609458fd .
How one might know when one is done:
mkdir scratch && cd scratch
mkdir annotation beans collection compat concurrent io \
math parallel ref reflect runtime scala sys testing \
text tools util xml
scalac $(find ../src/library -name '*.scala')
Until recently that would fail with about a billion errors. When it
compiles, that's when you're done. And that's where this commit
takes us, for src/library at least.
Diffstat (limited to 'src/library/scala/io/Position.scala')
-rw-r--r-- | src/library/scala/io/Position.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/io/Position.scala b/src/library/scala/io/Position.scala index 0d0d0d7648..dae478f31a 100644 --- a/src/library/scala/io/Position.scala +++ b/src/library/scala/io/Position.scala @@ -54,7 +54,7 @@ abstract class Position { if (line >= LINE_MASK) LINE_MASK << COLUMN_BITS else - (line << COLUMN_BITS) | math.min(COLUMN_MASK, column) + (line << COLUMN_BITS) | scala.math.min(COLUMN_MASK, column) } /** Returns the line number of the encoded position. */ |