Welcome! Please see the About page for a little more info on how this works.

+2 votes
ago in ClojureScript by
retagged ago by

When some error occurs in ClojureScript, the source map usually shows the line above the actual error, but sometimes it's even worse. An example is on my own plug-in Lazuli, where using Reagent with the newer React causes a very weird source map, as following GIF:

GIF with the stacktrace

The stracktrace shows:

lazuli$connections$conn_view            @ connections.cljs:64
(anonymous)	                            @ connections.cljs:199
lazuli$connections$connect_nrepl_BANG_  @	connections.cljs:195

But the correct lines are 63, and 197, with 195 being probably the only correct line in this

Is there any way to configure this to be correct?

Please log in or register to answer this question.

...