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
Fix 2396b: Non-static synthetic case-objects should be initialized early.
Lazy val implements non-static objects.
But if object is not user-defined we don't make it `real` lazy,
we instead make it eager as no-one will notice. This actually
saves resources as otherwise you'll still need to initialize
lazy-val related stuff in constructor instead and later initialize
actual objects.
Those objests, being eager, should be initialized early,
so that constructors can't see un-initialized values.
0 commit comments