Skip to content

Commit

Permalink
revert the removal of error case
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Aug 20, 2024
1 parent 9df27ca commit 3674359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/reference/evaluation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Strings, numbers, characters, `true`, `false`, `nil` and keywords evaluate to th
A Symbol is _resolved_:

* When namespace-qualified:
** The value is the value of the binding of the global var named by the symbol. It is an error if the reference is to a non-public var in a different namespace.
** The value is the value of the binding of the global var named by the symbol. It is an error there is no global var named by the symbol, or if the reference is to a non-public var in a different namespace.
** If the qualifier names a class or a mapping from symbol to class in the current namespace, and the symbol name is a static field, the value is the value of the static field. Since Clojure 1.12, if the symbol name is a method of the class, the value is a Clojure function that invokes the method. Additionally, if the qualifier names a class or primitive name and the symbol name is a single digit between 1 and 9, inclusive then the symbol resolves to an array class with a dimesionality equal to the digit supplied.
* When not namespace-qualified:
** 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.
Expand Down

0 comments on commit 3674359

Please sign in to comment.