Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Introduce a definition for Wasm columns #14

Merged
merged 4 commits into from
Aug 1, 2023
Merged

Conversation

JSMonk
Copy link
Member

@JSMonk JSMonk commented Jul 26, 2023

Introduce columns definition for WebAssembly based on the current browser implementations and this PR

source-map.bs Outdated
diverge from this.
2 code units. For WebAssembly, columns are defined as byte offsets from the start
of the binary content (the line number is always defined as 1). Source maps for
other formats might diverge from this.
Copy link

Choose a reason for hiding this comment

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

nit: I think "format" has been a bad choice of wording in the original (above, it mostly refers to "source map format"), but it's worse now, now that the example is missing.

I'm not sure I'd have understood that "format" refers to other languages / binary types.
Following the previous sentence, it might also refer to other formats of WebAssembly formats.

Could probably be "content types" or "languages" (above it says "although the format itself is language agnostic", so the term "language was already introduced")?

Copy link
Member Author

@JSMonk JSMonk Jul 27, 2023

Choose a reason for hiding this comment

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

Maybe, "kinds of original source" or "types of original source"? @JannikGM WDYT?

source-map.bs Outdated Show resolved Hide resolved
@littledan littledan merged commit 1ac019b into tc39:main Aug 1, 2023
github-actions bot added a commit that referenced this pull request Aug 1, 2023
SHA: 1ac019b
Reason: push, by littledan

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants