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
Four improvments:
1. Applications of stable and pure functions to pure arguments are pure.
This is important since constructors of pure classes are marked Stable.
2. New(...) expressions are pure (any side effects are caused by the constructor
application).
3. Module values are pure of their module classes are pure.
4. scala.Product and scala.Serializable are assumed to be pure. Therefore,
case classes can also be pure.
These predictons remove most remaining unused bindings in the run/typelevel.scala test.
0 commit comments