You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeErasure: change the meaning of isSemi and simplify the code
- isSemi is still unimplemented but its meaning is changed: before,
isSemi = false meant that a value class should be erased to its
underlying type, now it means that it should be erased like a normal
class. These two cases are the one we actually need in Erasure.
- Fix the documentation of the TypeErasure class which was wrong.
- Remove intermediate functions scalaErasureFn, scalaSigFn, javaSigFn
and semiErasureFn. It's clearer to just use erasureFn directly
instead.
- Add an optional parameter isSemi to erasure which will be used in
Erasure when we need to disable semi-erasure.
0 commit comments