A public service announcement regarding static field interop... This is something we've run into while working on 1.12. The syntax for getting the value of a static field via interop is Classname/field - this has always been the only published syntax (other than the . special form). It seems that in the wild it is not uncommon to also see this parenthesized syntax: (Classname/field) but this has never been correct. It does "work" in returning the value of the field, but this is merely an artifact of the . rewriting in the macroexpander and was never intended. For correct expression substitution, that code should take the value of the field, and then invoke it. We are still deciding what to do about this (it is in the way of other things we are doing), but regardless I'll issue a plea to Clojure developers here to always use Classname/field without parens to get a static field value!








