Commit ace9da3
CLJS-1580: Self-host: goog.provide offsets source-maps
When goog.provide is emitted as a result of processing :ns :op, this
modification to the JavaScript offsets the lines in that file by one,
thus messing up source mapping lines, if enabled. Instead of simply
using str to generate the line, use comp/emitln, which internally does
the proper accounting with respect to source maps.1 parent 0ec3e83 commit ace9da3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
735 | | - | |
| 735 | + | |
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
| |||
0 commit comments