Skip to content

Generate names field for identifiers to get correct names mappings#3658

Merged
hzoo merged 1 commit intomasterfrom
identifier-name
Aug 16, 2016
Merged

Generate names field for identifiers to get correct names mappings#3658
hzoo merged 1 commit intomasterfrom
identifier-name

Conversation

@sebmck
Copy link
Copy Markdown
Contributor

@sebmck sebmck commented Aug 15, 2016

This allows things like name mangling to retain their original source location and allows debuggers to do realiasing etc.

*/

mark(generatedLine: number, generatedColumn: number, line: number, column: number, filename: ?string) {
mark(generatedLine: number, generatedColumn: number, line: number, column: number, identifierName: ?string, filename: ?string) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting max-len error here (do we still want this on), I'd be ok with removing as well)

@hzoo
Copy link
Copy Markdown
Member

hzoo commented Aug 15, 2016

@hzoo hzoo added the PR: New Feature 🚀 A type of pull request used for our changelog categories label Aug 15, 2016
@sebmck sebmck force-pushed the identifier-name branch 2 times, most recently from 752d829 to ee83dc1 Compare August 16, 2016 14:33
@hzoo
Copy link
Copy Markdown
Member

hzoo commented Aug 16, 2016

👍

@codecov-io
Copy link
Copy Markdown

Current coverage is 89.69% (diff: 100%)

Merging #3658 into master will increase coverage by 1.48%

@@             master      #3658   diff @@
==========================================
  Files           191        191           
  Lines         13582      17452   +3870   
  Methods        1423       2063    +640   
  Messages          0          0           
  Branches       3127       4739   +1612   
==========================================
+ Hits          11981      15654   +3673   
- Misses         1601       1798    +197   
  Partials          0          0           

Powered by Codecov. Last update 2aaee8b...cc52e8b

@hzoo hzoo merged commit 4a19661 into master Aug 16, 2016
@hzoo hzoo deleted the identifier-name branch August 16, 2016 17:43
@hzoo hzoo added this to the Next Minor milestone Aug 16, 2016
Timer added a commit to Timer/source-list-map that referenced this pull request Dec 1, 2016
Timer added a commit to Timer/source-list-map that referenced this pull request Dec 1, 2016
@hzoo
Copy link
Copy Markdown
Member

hzoo commented Dec 2, 2016

Caused an issue with webpack sourcemaps but was fixed - webpack/source-list-map#2

@lock lock Bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 7, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: New Feature 🚀 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants