Are abstract type members a compile time construct?

74 Views Asked by At

Scala: Are abstract type members a compile time construct?

Are they erased like type parameters?

1

There are 1 best solutions below

0
On BEST ANSWER

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.