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
defnc should detect if dependencies are exhaustively filled in, and if not signal a compiler warning. It could be silenced by filling in the dependencies or annotating with metadata.
;; Warning! Non-exhaustive dependencies
(use-memo
[foo]
(+ foo bar))
;; Ignore specific dependency in the body
(use-memo
^{:ignore-deps [bar]} [foo]
(+ foo bar))
;; Don't warn ever
(use-memo
^:ignore-deps []
(+ foo bar))
The text was updated successfully, but these errors were encountered:
defnc
should detect if dependencies are exhaustively filled in, and if not signal a compiler warning. It could be silenced by filling in the dependencies or annotating with metadata.The text was updated successfully, but these errors were encountered: