Skip to content

Commit

Permalink
[Fix #276] Treat :keyword-invoke as ok for pre/post (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
slipset authored Aug 29, 2018
1 parent 4fde9fc commit 672ed22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eastwood/linters/typos.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ warning, that contains the constant value."
;; The following kinds of things are 'complex' enough that we
;; will not try to do any fancy calculation to determine
;; whether their results are constant or not.
(#{:invoke :static-call :let :if :instance?} (:op test-ast))
(#{:invoke :static-call :let :if :instance? :keyword-invoke} (:op test-ast))
nil

:else
Expand Down

0 comments on commit 672ed22

Please sign in to comment.