Skip to content

Commit 1e486d2

Browse files
mfikesdnolen
authored andcommitted
CLJS-1579: cljs.source-map/invert-reverse-map discards gcol
The innermost update-in should refer to [gcol] in order to invert that bit of the mapping.
1 parent ace9da3 commit 1e486d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/source_map.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
(doseq [{:keys [gline gcol name]} column-info]
293293
(swap! inverted update-in [gline]
294294
(fnil (fn [columns]
295-
(update-in columns [column] (fnil conj [])
295+
(update-in columns [gcol] (fnil conj [])
296296
{:line line :col column :name name}))
297297
(sorted-map))))))
298298
@inverted))

0 commit comments

Comments
 (0)