suppress "unknown field" for generated symbols
This commit is contained in:
parent
d54ccfd777
commit
4d4d288214
@ -62,6 +62,7 @@ the `file.diagnostics` field, filling it with diagnostics."
|
|||||||
(let [opts {}
|
(let [opts {}
|
||||||
item (analyzer.search-ast server file ?ast stack opts)]
|
item (analyzer.search-ast server file ?ast stack opts)]
|
||||||
(if (and (not item)
|
(if (and (not item)
|
||||||
|
(file.lexical symbol)
|
||||||
(not (in-or? file.calls symbol))
|
(not (in-or? file.calls symbol))
|
||||||
;; this doesn't necessarily have to come thru require; it works
|
;; this doesn't necessarily have to come thru require; it works
|
||||||
;; for built-in modules too
|
;; for built-in modules too
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user