diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2014-12-11 23:41:25 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2014-12-12 16:42:12 +0100 |
commit | ca2ed3f6e609122781fe9b25ce16b4a4dd80f56a (patch) | |
tree | 9224467facf9714cdf4ac61230a82e8d640a6bbc /src/dotty/tools/dotc/core/Phases.scala | |
parent | 95ef88f79d4560dde676db9a2439c89a7f9c582a (diff) | |
download | dotty-ca2ed3f6e609122781fe9b25ce16b4a4dd80f56a.tar.gz dotty-ca2ed3f6e609122781fe9b25ce16b4a4dd80f56a.tar.bz2 dotty-ca2ed3f6e609122781fe9b25ce16b4a4dd80f56a.zip |
Phases: The operator <= does not need a context anymore
Diffstat (limited to 'src/dotty/tools/dotc/core/Phases.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Phases.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Phases.scala b/src/dotty/tools/dotc/core/Phases.scala index 8476ae601..43178f110 100644 --- a/src/dotty/tools/dotc/core/Phases.scala +++ b/src/dotty/tools/dotc/core/Phases.scala @@ -250,7 +250,7 @@ object Phases { protected[Phases] def init(base: ContextBase, id: Int): Unit = init(base, id, id) - final def <=(that: Phase)(implicit ctx: Context) = + final def <=(that: Phase) = exists && id <= that.id final def prev: Phase = |