Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whitespace differences from endo bundler #1044

Closed
erights opened this issue Feb 2, 2022 · 5 comments
Closed

whitespace differences from endo bundler #1044

erights opened this issue Feb 2, 2022 · 5 comments
Assignees

Comments

@erights
Copy link
Contributor

erights commented Feb 2, 2022

image

image

just capturing some discrepancies as I notice them during a debug session.

Btw, I was not able to get into the debugger by setting a breakpoint on the source file. So instead I edited in a debugger;, whereupon I saw the bundle file and can set breakpoints in it. What do we need to do so that breakpoints on the original source work? Is this possible?

@erights
Copy link
Contributor Author

erights commented Feb 2, 2022

On the second example, notice the difference in parens. Does babel prevent us from preserving the parens from the original source?

@erights
Copy link
Contributor Author

erights commented Dec 24, 2022

See also #926

@kriskowal should one of these be closed as a dup of the other?

@erights
Copy link
Contributor Author

erights commented May 11, 2023

Extended example with repro instructions at Agoric/agoric-sdk#7685

@erights
Copy link
Contributor Author

erights commented May 11, 2023

See also babel/babel#497

@erights
Copy link
Contributor Author

erights commented Jun 8, 2023

Closing as a dup of #926

@erights erights closed this as completed Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants