Affects Version/s: None
Fix Version/s: None
Patch:Code and Test
Here is a transliteration of a semi-common pattern used with Clojure protocols to dynamically extend protocols to concrete types implementing other protocols (or interfaces, on the JVM):
(I think dnolen was the first to talk about this outside of irc.) Unfortunately, this does not work in ClojureScript; extend-type currently requires that the type be specified as a symbol:
I can (hackily?) make this work by simply not attempting to resolve tsym here. However, that leaves lists in as values for :tag metadata (which might be used by the analyzer and/or other tools that depend upon it?), which I presume is not OK.
If someone can provide guidance on a sane path from here, I'll do what I can to produce a plausible patch.
|Assignee||Chas Emerick [ cemerick ]|
|Assignee||Chas Emerick [ cemerick ]||David Nolen [ dnolen ]|
|Priority||Major [ 3 ]||Minor [ 4 ]|