dotty.tools.dotc.core.TypeErasure
See theTypeErasure companion object
class TypeErasure(sourceLanguage: SourceLanguage, semiEraseVCs: Boolean, isConstructor: Boolean, isSymbol: Boolean, inSigName: Boolean)
Value parameters
- inSigName
-
This eraser is used for
TypeErasure.sigName
, seeTypeErasure#apply
for more information. - isConstructor
-
Argument forms part of the type of a constructor
- isSymbol
-
If true, the type being erased is the info of a symbol.
- semiEraseVCs
-
If true, value classes are semi-erased to ErasedValueType (they will be fully erased in ElimErasedValueType). If false, they are erased like normal classes.
- sourceLanguage
-
Adapt our erasure rules to mimic what the given language would do.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article