diff options
author | Martin Odersky <odersky@gmail.com> | 2014-12-14 15:34:50 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-12-14 15:39:32 +0100 |
commit | db989f9d6552e1f663474d9983199dea00f87864 (patch) | |
tree | 5fd7ae114ad179be841ec4a6926a61ff393262f7 /src/dotty/tools/dotc/transform/Literalize.scala | |
parent | 670f6024cfbc97f73d1534e10a602e8bdccf0e48 (diff) | |
download | dotty-db989f9d6552e1f663474d9983199dea00f87864.tar.gz dotty-db989f9d6552e1f663474d9983199dea00f87864.tar.bz2 dotty-db989f9d6552e1f663474d9983199dea00f87864.zip |
Make Literalize run at new default phase thisTransform.next
Diffstat (limited to 'src/dotty/tools/dotc/transform/Literalize.scala')
-rw-r--r-- | src/dotty/tools/dotc/transform/Literalize.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/Literalize.scala b/src/dotty/tools/dotc/transform/Literalize.scala index 79f0dd493..95b3fb7a3 100644 --- a/src/dotty/tools/dotc/transform/Literalize.scala +++ b/src/dotty/tools/dotc/transform/Literalize.scala @@ -15,10 +15,11 @@ import ast.Trees._ * The constant types are eliminated by erasure, so we need to keep * the info about constantness in the trees. */ -class Literalize extends MiniPhaseTransform { +class Literalize extends MiniPhaseTransform { thisTransform => import ast.tpd._ override def phaseName: String = "literalize" + override def treeTransformPhase = thisTransform.next /** Note: Demanding idempotency instead of purity is strictly speaking too loose. * Example |