diff options
author | Martin Odersky <odersky@gmail.com> | 2014-08-18 21:48:59 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-08-18 21:48:59 +0200 |
commit | 3afdefd1796af0aa256dfde6a4e3588c0fb00e61 (patch) | |
tree | 08f2e4838fe445617e7a111e2de08f43ca5e698d /src/dotty/tools/dotc/transform/Literalize.scala | |
parent | f366f867853be9879b9d17af832de2ad00f7f06b (diff) | |
download | dotty-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.scala | 2 |
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 |