diff options
author | Martin Odersky <odersky@gmail.com> | 2014-12-14 15:56:00 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-12-14 15:56:00 +0100 |
commit | b7c196e38d6cc9bb9c2331a6d7507b258b30ce29 (patch) | |
tree | 686431ab34fc15f978897d0ecf22ff524ee77645 /src/dotty/tools/dotc/transform/CapturedVars.scala | |
parent | cf3af0e0e75e8f905eafaa12c29b87b320f7e4b1 (diff) | |
download | dotty-b7c196e38d6cc9bb9c2331a6d7507b258b30ce29.tar.gz dotty-b7c196e38d6cc9bb9c2331a6d7507b258b30ce29.tar.bz2 dotty-b7c196e38d6cc9bb9c2331a6d7507b258b30ce29.zip |
Remove fruitless overrides of treeTransformPhase
Now the default phase of treeTransformPhase is phase.next, we
can remove all overrides that specify the same phase.
Diffstat (limited to 'src/dotty/tools/dotc/transform/CapturedVars.scala')
-rw-r--r-- | src/dotty/tools/dotc/transform/CapturedVars.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/CapturedVars.scala b/src/dotty/tools/dotc/transform/CapturedVars.scala index 14bb4a738..e923c94de 100644 --- a/src/dotty/tools/dotc/transform/CapturedVars.scala +++ b/src/dotty/tools/dotc/transform/CapturedVars.scala @@ -26,7 +26,6 @@ class CapturedVars extends MiniPhase with IdentityDenotTransformer { thisTransfo class Transform(captured: collection.Set[Symbol]) extends TreeTransform { def phase = thisTransform - override def treeTransformPhase = thisTransform.next private class CollectCaptured(implicit ctx: Context) extends EnclosingMethodTraverser { private val captured = mutable.HashSet[Symbol]() |