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
fix(native): harden clojure extractor child iteration and document parity gaps
Address Greptile review feedback on PR #1097:
- `find_first_symbol`/`find_second_symbol`: replace `?` with `match` so a
`None` from `list_node.child(i)` skips and continues instead of aborting
the whole scan, matching the JS extractor's `if (!child) continue;`
semantics. Practically inert today (tree-sitter always returns `Some`
for `i < child_count()`), but makes the invariant explicit and removes
a fragile divergence.
- `extract_clojure_params`: document the known `defmethod` dispatch-vector
gap inherited from the JS extractor.
- `handle_import_form`: document why top-level `(require 'some.ns)` and
`(require '[some.ns :as s])` are silently dropped and point maintainers
at the working `(ns ...)` path in `extract_ns_requires`.
0 commit comments