You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Description
Occasionally it would be useful if the analysis included the dispatch-val of a defmethod. It's possible this could be used for #1682. Also see here for a case where clojure-lsp could use this additional analysis.
Describe the solution you'd like
Include the dispatch-val in the analysis. That value is always in the same spot, so the analysis shouldn't be too hard.
To consider:
Should this be opt-in, via the :analysis config?
dispatch-vals can be arbitrarily large. Is there a problem with size?
dispatch-vals can contain references to other locals and vars. Probably best to include the raw sexpr, not any transformation.
Describe alternatives you've considered
Use other tools, like rewrite-clj, to find the dispatch-val.
The text was updated successfully, but these errors were encountered:
Note that :dispatch-val is a sexp. Would you rather have it be a string @borkdude? (If so, it should probably be transformed with pr-str, not str, so it's easier to identify string dispatch vals.)
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Description
Occasionally it would be useful if the analysis included the dispatch-val of a defmethod. It's possible this could be used for #1682. Also see here for a case where clojure-lsp could use this additional analysis.
Describe the solution you'd like
Include the dispatch-val in the analysis. That value is always in the same spot, so the analysis shouldn't be too hard.
To consider:
:analysis
config?Describe alternatives you've considered
Use other tools, like rewrite-clj, to find the dispatch-val.
The text was updated successfully, but these errors were encountered: