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
I don't have a specific use case in mind, but I was testing a similar example from evanw/esbuild#3551 which I reported on esbuild in the past and found a minor difference/inconsistency.
The only difference should not relevant to optional chain? Because for a normal StaticMemberExpr we still will not generate a shared object, we will replace each DotDefineMemberExpr with a ObjectExpr
Thanks for the fix!
I think we can close. I've never wondered why esbuild uses shared object, but I think that's for later when that alignment turns out to be important.
I don't have a specific use case in mind, but I was testing a similar example from evanw/esbuild#3551 which I reported on esbuild in the past and found a minor difference/inconsistency.
reproduction: https://github.com/hi-ogawa/reproductions/tree/main/rolldown-define-optional-chain
The text was updated successfully, but these errors were encountered: