Skip to content

Document the meaning of sourceIndex "-1" in source mappings.#3653

Merged
chriseth merged 1 commit intodevelopfrom
docNegativeSourceIndex
Mar 6, 2018
Merged

Document the meaning of sourceIndex "-1" in source mappings.#3653
chriseth merged 1 commit intodevelopfrom
docNegativeSourceIndex

Conversation

@ekpyron
Copy link
Collaborator

@ekpyron ekpyron commented Mar 6, 2018

Refs #3629.

I'm not yet particularly familiar with the technicalities here - is this a half-decent description of the case of #3629?

@ekpyron ekpyron requested a review from axic March 6, 2018 00:09
the json / npm compiler.

.. note ::
In the case of bytecode that is not associated with any particular source file,
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe extending it with In the case of bytecode (sections) that or using instructions instead of bytecode is less misleading. Having read it out of context (skipping the first two paragraphs) I thought it means that an entire bytecode is not associated with a file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fair enough; I adjusted the commit slightly.

@ekpyron ekpyron force-pushed the docNegativeSourceIndex branch from aab0905 to 154fd1d Compare March 6, 2018 01:05
@chriseth chriseth merged commit 5f5af65 into develop Mar 6, 2018
@axic axic deleted the docNegativeSourceIndex branch March 6, 2018 14:27
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

Successfully merging this pull request may close these issues.

3 participants