Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Comment node loc.filename #80

Merged
merged 1 commit into from
Jul 28, 2016
Merged

Comment node loc.filename #80

merged 1 commit into from
Jul 28, 2016

Conversation

divmain
Copy link
Contributor

@divmain 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
Copy link
Member

danez commented Jul 28, 2016

👍

@danez danez merged commit 4811d61 into babel:master Jul 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants