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
state.foo?.(); line should not be eliminated by tree-shaking.
Actual Behaviour
state.foo?.(); is not present in the bundle output.
I assume this is caused by the fact that the shared object is accessed via state not via stack[0] or stack.at(-1). Changing to any of these two correctly preserves the line in the output.