aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2015-03-18 23:56:27 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-01 13:27:41 +0200
commit9c94605d5464936cc156680c5db5344d5ff092ef (patch)
treea885076d8f53397998d7c4cf67617e34bc1d30c2 /src/dotty/tools/dotc/Compiler.scala
parent5dec4ce8a64d44ee602c09d468414b13eecba389 (diff)
downloaddotty-9c94605d5464936cc156680c5db5344d5ff092ef.tar.gz
dotty-9c94605d5464936cc156680c5db5344d5ff092ef.tar.bz2
dotty-9c94605d5464936cc156680c5db5344d5ff092ef.zip
New phase: ElimErasedValueType
This phase erases ErasedValueType to their underlying type, in scalac this was done in PostErasure.
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index 102d99347..dc92187db 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -56,7 +56,8 @@ class Compiler {
new ElimByName,
new ResolveSuper),
List(new Erasure),
- List(new Mixin,
+ List(new ElimErasedValueType,
+ new Mixin,
new LazyVals,
new Memoize,
new CapturedVars, // capturedVars has a transformUnit: no phases should introduce local mutable vars here