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

Comment node loc.filename #80

Merged
merged 1 commit into from Jul 28, 2016

Conversation

Projects
None yet
2 participants
@divmain
Copy link
Contributor

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

@danez

This comment has been minimized.

Copy link
Member

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
Details
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.