Scala: Are abstract type members a compile time construct?
Are they erased like type parameters?
Both abstract and concrete type members are a compile time construct. They disappear after scalac's erasure step, as can be seen with scalac -Xprint:erasure.
scalac
scalac -Xprint:erasure
Copyright © 2021 Jogjafile Inc.
Both abstract and concrete type members are a compile time construct. They disappear after
scalac
's erasure step, as can be seen withscalac -Xprint:erasure
.