Clojurians
#cljs-dev
<
2017-04-21
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

mhuebert08:04:27

:grinning: big thanks to everyone who worked on externs inference… I’ve used it in a couple of projects now and got the hang of it, it’s really helpful!

jfntn13:04:40

I’m looking into adding a cljs compatibility layer to refactor-nrepl which mainly involves working with the cljs analyzer and replicating some searches on the ast -- the current version uses tools.analyzer.jvm for clojure code.

jfntn13:04:46

One thing I seem to be missing is the end-line/column values in the nodes’ env. It seems only a few nodes carry that information, while on the other hand tools.analyzer adds it much more frequently and a lot of refactor-nrepl relies on that data to match a cursor position to an AST location.

jfntn13:04:33

So my question is: can the cljs analyzer be parametrized to add end-line/column to all relevant nodes, or is it something that will need to be done manually?