We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version
2024.08.01
platform
JVM and JS
problem
In a .cljc file, clojure specs gen/fmap is indicated as an unresolved var.
repro
file break.clj
break.clj
(ns break (:require [clojure.spec.alpha :as s] #?(:clj [clojure.spec.gen.alpha :as gen] :cljs [cljs.spec.gen.alpha :as gen]))) (s/def ::break (s/with-gen nat-int? #(gen/fmap inc (s/gen integer?))))
run clj-kondo
clj-kondo --lint break.cljc break.cljc:10:7: warning: Unresolved var: gen/fmap linting took 15ms, errors: 0, warnings: 1
config
default
expected behavior
No warning is issued.
The text was updated successfully, but these errors were encountered:
Fix #2384: recognize gen/fmap in cljs.spec.gen.alpha
d6288c5
9da5208
No branches or pull requests
version
2024.08.01
platform
JVM and JS
problem
In a .cljc file, clojure specs gen/fmap is indicated as an unresolved var.
repro
file
break.clj
run clj-kondo
config
default
expected behavior
No warning is issued.
The text was updated successfully, but these errors were encountered: