ClojureDart
ClojureDart copied to clipboard
Add support for :extend-via-metadata in protocol definitions
Describe the bug
Code can not be compiled once defprotocol elect to be extended via per-value metadata.
To Reproduce Steps to reproduce the behavior:
- Create a CLJD project
- Try to compile this code:
(defprotocol MyProtocol :extend-via-metadata true
(some-fn [this]))
- See error
Don't know how to create ISeq from: clojure.lang.Keyword
Faulty form (defprotocol MyProtocol :extend-via-metadata true (some-fn [this]))
Expected behavior
- code can be compiled and metadata + protocols can be used.
Additional context
- I have experienced this error when trying to use Honey.SQL in CLJD
Thanks for your report @zikajk , indeed, it's not yet implemented in the compiler. We have other immediate priorities but I am tagging this issue as enhancement