Error formatting macro: pagetree: java.lang.NullPointerException

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
(.p o)           ;=> a method call

(.m o <args>)    ;=> a method call

(. o p)          ;=> a method call

(. o p <args>)   ;=> a method call

(. o (m))        ;=> a method call

(. o (m <args>)) ;=> a method call

(. o :-p)         ;=> a property access

(. -p o)         ;=> a property access

(.-p o)          ;=> a property access  

Thus reserving the single keyword form for property access.  This functionality should also be enhanced in Clojure (as it currently exists, but not optimally so).  This would require a breaking change in ClojureScript and an enhancement to Clojure.