aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/classfile
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-01 12:05:13 +1100
committerMartin Odersky <odersky@gmail.com>2017-02-01 12:05:13 +1100
commit12d11cb8c2c38f7eb1c50fb577717c75f6895f00 (patch)
tree4569b7723c5f19d2ad1ae9ea785a0d6d6ea35615 /compiler/src/dotty/tools/dotc/core/classfile
parent62810e0ba681224c8288470a27e816b05769f01a (diff)
downloaddotty-12d11cb8c2c38f7eb1c50fb577717c75f6895f00.tar.gz
dotty-12d11cb8c2c38f7eb1c50fb577717c75f6895f00.tar.bz2
dotty-12d11cb8c2c38f7eb1c50fb577717c75f6895f00.zip
Drop atPhaseNotLaterThanTyper
It was used only once and its body is almost as short as the name, so no need to have a separate method.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/classfile')
-rw-r--r--compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala
index 97a82e80d..5b751ef3c 100644
--- a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala
+++ b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala
@@ -818,7 +818,7 @@ class ClassfileParser(
case Some(entry) =>
val outerName = entry.outerName.stripModuleClassSuffix
val owner = classSymbol(outerName)
- val result = ctx.atPhaseNotLaterThanTyper { implicit ctx =>
+ val result = ctx.atPhaseNotLaterThan(ctx.typerPhase) { implicit ctx =>
getMember(owner, innerName.toTypeName)
}
assert(result ne NoSymbol,