Datalog in clojure.tools.analyzer.query-test not working
Description
clojure.tools.analyzer.query-test has been failing since 2015-11-03, it never runs in CI.
git bisect determined commit a61b1699c15911d17f834745521a9837a8916eec introduced the failure
I checked CI and the latest build doesn't execute query-test, presumably because datomic.Datom isn't found.
See https://build.clojure.org/job/tools.analyzer/728/console
Expected:
Actual:
full repl repro:
It appears the datalog query still works.
Environment
Fails on clojure 1.8, 1.9, 1.10, passes on clojure 1.7
Activity
Thanks, merged
I created tanal-129-1.patch. The patch changes which query is used within the test depending upon the value in *clojure-version*. Assuming that it is expected behavior that the ast structure changed between clojure version 1.7 and 1.8+, I don’t think there is a bug after all.
Cleaned up the ticket.