This phase erases ErasedValueType to their underlying type. It also removes the synthetic cast methods u2evt$ and evt2u$ which are no longer needed afterwards.
Constructors
ElimErasedValueType
(
)
Members
override
def
phaseName
: String
A name given to the Phase
that can be used to debug the compiler. For
instance, it is possible to print trees after a given phase using:
A name given to the Phase
that can be used to debug the compiler. For
instance, it is possible to print trees after a given phase using:
$ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala
List of names of phases that should precede this phase
List of names of phases that should precede this phase
override
def
transformApply
(
tree:
Apply
)
(
implicit
ctx:
Context
,
info:
TransformerInfo
)
: Tree
override
def
transformBlock
(
tree:
Block
)
(
implicit
ctx:
Context
,
info:
TransformerInfo
)
: Tree
override
def
transformIdent
(
tree:
Ident
)
(
implicit
ctx:
Context
,
info:
TransformerInfo
)
: Tree
override
def
transformInlined
(
tree:
Inlined
)
(
implicit
ctx:
Context
,
info:
TransformerInfo
)
: Tree