aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/Literalize.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-12-14 15:34:50 +0100
committerMartin Odersky <odersky@gmail.com>2014-12-14 15:39:32 +0100
commitdb989f9d6552e1f663474d9983199dea00f87864 (patch)
tree5fd7ae114ad179be841ec4a6926a61ff393262f7 /src/dotty/tools/dotc/transform/Literalize.scala
parent670f6024cfbc97f73d1534e10a602e8bdccf0e48 (diff)
downloaddotty-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.scala3
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