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
This commit tries to disentangle the TypeErasure class and the
TypeErasure object thereby fixing scala#386.
- Remove the `eraseInfo` method in the TypeErasure object, use `transformInfo`
instead which takes care of using the correct instance of TypeErasure
depending on the symbol to erase.
- Remove the unused method `eraseResult` in the TypeErasure class.
- In `transformInfo`, use the correct instance of the TypeErasure class when
calling `eraseInfo`.
- In the `eraseInfo` method of the TypeErasure class, do not call the
`erasure` method of the TypeErasure object, instead use the `apply`
method of the current instance of TypeErasure.
0 commit comments