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 was running into an issue with jscodeshift, which seems to be similar to #589. I was seeing this in astexplorer.net, which is using some older versions, but I was observing the same behaviour when running the transform with npx jscodeshift, which AFAICT should be using the latest recast version.
When wrapping a function call (asyncFn() in this example) with an AwaitExpression, the serialized output differs when this is part of an MemberExpression vs. an OptionalMemberExpression.
I was running into an issue with
jscodeshift
, which seems to be similar to #589. I was seeing this in astexplorer.net, which is using some older versions, but I was observing the same behaviour when running the transform withnpx jscodeshift
, which AFAICT should be using the latestrecast
version.Here is a reproduction: https://astexplorer.net/#/gist/19cd83009b20b00367a24ded3c031eb2/d25151fcdcea6a1d24788c3606799b579eaa6f14.
When wrapping a function call (
asyncFn()
in this example) with an AwaitExpression, the serialized output differs when this is part of an MemberExpression vs. an OptionalMemberExpression.The text was updated successfully, but these errors were encountered: