Skip to content

Commit

Permalink
Adding support for :when-providing-macros
Browse files Browse the repository at this point in the history
  • Loading branch information
fogus committed Sep 26, 2024
1 parent f44a428 commit aff0f1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/clojure/clojure/core/specs/alpha.clj
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
(s/spec (s/cat :clause #{:require}
:body (s/+ (s/alt :libspec ::libspec
:prefix-list ::prefix-list
:flag #{:reload :reload-all :verbose})))))
:flag #{:reload :reload-all :verbose :when-providing-macros})))))

(s/def ::package-list
(s/spec
Expand Down Expand Up @@ -171,7 +171,7 @@
(s/spec (s/cat :clause #{:use}
:libs (s/+ (s/alt :libspec ::use-libspec
:prefix-list ::use-prefix-list
:flag #{:reload :reload-all :verbose})))))
:flag #{:reload :reload-all :verbose :when-providing-macros})))))

(s/def ::ns-load
(s/spec (s/cat :clause #{:load}
Expand Down

0 comments on commit aff0f1d

Please sign in to comment.