aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/Literalize.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/transform/Literalize.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/transform/Literalize.scala')
-rw-r--r--src/dotty/tools/dotc/transform/Literalize.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/Literalize.scala b/src/dotty/tools/dotc/transform/Literalize.scala
index 03b2b9978..79f0dd493 100644
--- a/src/dotty/tools/dotc/transform/Literalize.scala
+++ b/src/dotty/tools/dotc/transform/Literalize.scala
@@ -18,7 +18,7 @@ import ast.Trees._
class Literalize extends MiniPhaseTransform {
import ast.tpd._
- override def name: String = "literalize"
+ override def phaseName: String = "literalize"
/** Note: Demanding idempotency instead of purity is strictly speaking too loose.
* Example