This repository has been archived by the owner. It is now read-only.

Comment node loc.filename #80

merged 1 commit into from Jul 28, 2016


None yet
2 participants
Copy link

divmain commented Jul 17, 2016

This change was actually @loganfsmyth's, but I've confirmed that it resolves the issue I was experiencing. When specifying multiple input source files to babel-generator, an invalid mapping error would occur due to a missing filename property in comment nodes' loc. This change attaches the filename value if provided.

There is one failing test in master, as well as in this branch. Looks like the issue is fixed in #76.

/cc @loganfsmyth

@divmain divmain changed the title Comment nod loc.filename Comment node loc.filename Jul 17, 2016

@danez danez added the i: bug label Jul 17, 2016


This comment has been minimized.

Copy link

danez commented Jul 28, 2016


@danez danez merged commit 4811d61 into babel:master Jul 28, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.