diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2017-03-13 10:34:26 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2017-03-13 10:34:26 +0100 |
commit | 3e5e276e26e12f43c66d0f4b190d43203a08efad (patch) | |
tree | 29c982b36858bb5ccb201978f0e650ffd958b925 /compiler/src/dotty/tools/dotc/transform/MoveStatics.scala | |
parent | 804b2544c370a3f4a1985203d2a0f0b64f2bacfd (diff) | |
download | dotty-3e5e276e26e12f43c66d0f4b190d43203a08efad.tar.gz dotty-3e5e276e26e12f43c66d0f4b190d43203a08efad.tar.bz2 dotty-3e5e276e26e12f43c66d0f4b190d43203a08efad.zip |
Fix a stupid error in fix of #2054.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/transform/MoveStatics.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/transform/MoveStatics.scala | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/src/dotty/tools/dotc/transform/MoveStatics.scala b/compiler/src/dotty/tools/dotc/transform/MoveStatics.scala index 2dde8ca31..b0ee0930d 100644 --- a/compiler/src/dotty/tools/dotc/transform/MoveStatics.scala +++ b/compiler/src/dotty/tools/dotc/transform/MoveStatics.scala @@ -20,9 +20,6 @@ class MoveStatics extends MiniPhaseTransform with SymTransformer { thisTransform import tpd._ override def phaseName = "moveStatic" - // This phase moves methods around(in infortransform) so it may need to make other methods public - override def runsAfter: Set[Class[_ <: Phase]] = Set(classOf[ExpandPrivate]) - def transformSym(sym: SymDenotation)(implicit ctx: Context): SymDenotation = { if (sym.hasAnnotation(defn.ScalaStaticAnnot) && sym.owner.is(Flags.Module) && sym.owner.companionClass.exists) { sym.owner.asClass.delete(sym.symbol) |