Skip to content
New issue

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

shadows-cljs compile warnings undeclard var since 67b26266c062b2ebf3395a846df333fcdc7514ea #945

Closed
PEZ opened this issue Oct 16, 2024 · 0 comments

Comments

@PEZ
Copy link
Contributor

PEZ commented Oct 16, 2024

version

Commit: 67b2626 -> 05eec0a

platform

problem

------ WARNING #1 - :undeclared-var --------------------------------------------
 File: /Users/pez/.gitlibs/libs/org.babashka/sci/67b26266c062b2ebf3395a846df333fcdc7514ea/src/sci/impl/analyzer.cljc:1861:32
--------------------------------------------------------------------------------
1858 |                                      (faster/deref-1 v)
1859 |                                      nil))))
1860 |                               (:sci.impl.analyzer/interop-ifn mv)
1861 |                               (analyze-interop-ifn ctx expr v)
--------------------------------------^-----------------------------------------
 Use of undeclared Var sci.impl.analyzer/analyze-interop-ifn
--------------------------------------------------------------------------------
1862 |                               :else v))
1863 |        ;; don't evaluate records, this check needs to go before map?
1864 |        ;; since a record is also a map
1865 |        (record? expr) expr
--------------------------------------------------------------------------------

repro

Compile sci with shadow-cljs.

expected behavior

Usually sci compiles without warnings, which is very nice 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant