binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

Source maps: allow to specify that an expression has no debug info in text parsers

Open vouillon opened this issue 1 year ago • 3 comments

The comment ;;@ with nothing else can be used to specify that the following expression does not have any debug info associated to it. This can be used to stop the automatic propagation of debug info in the text parsers.

The text printer has also been updated to output this comment when needed.

vouillon avatar Apr 22 '24 14:04 vouillon

I have opened a separate PR #6550 that include the source map fixes. I'll rebase this PR once the other is merged.

vouillon avatar Apr 26 '24 07:04 vouillon

Is this ready for review after the other PR landed?

kripken avatar May 06 '24 23:05 kripken

Yes, this is ready

vouillon avatar May 07 '24 08:05 vouillon