tonsky / datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
Eclipse Public License 1.0
5.45k stars 304 forks source link

substitute-constants defined twice #471

Closed lgrapenthin closed 3 months ago

lgrapenthin commented 3 months ago

https://github.com/tonsky/datascript/blob/61edb9e76d92fad2106f9c01bc80e659a4292ea8/src/datascript/query.cljc#L402

This gives a compiler warning. It could be avoided by choosing a different name for the wrapped version.

Addendum: There is another function called substitute-constant in the same namespace that appears to be defined twice as well.

tonsky commented 3 months ago

Thanks!