aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/RefChecks.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-08-18 21:48:59 +0200
committerMartin Odersky <odersky@gmail.com>2014-08-18 21:48:59 +0200
commit3afdefd1796af0aa256dfde6a4e3588c0fb00e61 (patch)
tree08f2e4838fe445617e7a111e2de08f43ca5e698d /src/dotty/tools/dotc/typer/RefChecks.scala
parentf366f867853be9879b9d17af832de2ad00f7f06b (diff)
downloaddotty-3afdefd1796af0aa256dfde6a4e3588c0fb00e61.tar.gz
dotty-3afdefd1796af0aa256dfde6a4e3588c0fb00e61.tar.bz2
dotty-3afdefd1796af0aa256dfde6a4e3588c0fb00e61.zip
Rename in Phase: name -> phaseName
Most transformations are subclasses of phase. Having a generic name like `name` in scope everywhere is therefore very risky.
Diffstat (limited to 'src/dotty/tools/dotc/typer/RefChecks.scala')
-rw-r--r--src/dotty/tools/dotc/typer/RefChecks.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/RefChecks.scala b/src/dotty/tools/dotc/typer/RefChecks.scala
index 67cb1745f..715960ee5 100644
--- a/src/dotty/tools/dotc/typer/RefChecks.scala
+++ b/src/dotty/tools/dotc/typer/RefChecks.scala
@@ -685,7 +685,7 @@ class RefChecks extends MiniPhase with IdentityDenotTransformer { thisTransforme
import tpd._
- val name: String = "refchecks"
+ override def phaseName: String = "refchecks"
val treeTransform = new Transform(NoLevelInfo)