Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Jan 2, 2024
1 parent a3fa740 commit f33300a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/reference/evaluation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ A Symbol is _resolved_:

* If it is namespace-qualified:
. If the symbol names a global public var, the value is the value of the binding of that var.
. Since Clojure 1.12, if the namespace is package-qualified or resolves to a class in the current namespace, and the symbol name is a static member, the value is a Clojure function that invokes the static member.
. Since Clojure 1.12, if the namespace starts with `.` and is a package-qualified class name, the value is a Clojure function that invokes an instance method.
. Since Clojure 1.12, if the namespace resolves to a class in the current namespace, and the symbol name is a static method, the value is a Clojure function that invokes the static member.
. Since Clojure 1.12, if the namespace starts with `.` and after resolves to a class in the current namespace, and the symbol name is an instance method, the value is a Clojure function that invokes the instance method.
. Else it is an error.
* If it is package-qualified, the value is the Java class named by the symbol. It is an error if there is no Class named by the symbol. Since Clojure 1.12, a class name or primitive name ending with one or more `pass:[*]`s resolves to an array class.
* Else, it is not qualified and the first of the following applies:
Expand Down

0 comments on commit f33300a

Please sign in to comment.