Tensegritics/ClojureDart

Add support for :extend-via-metadata in protocol definitions

オープン

#218 opened on 2023/04/03

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Clojure (115 件のフォーク)batch import
enhancementgood first issue

Repository metrics

Stars
 (1,618 個のスター)
PR merge metrics
 (平均マージ 8d) (30d で 2 merged PRs)

説明

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:

  1. Create a CLJD project
  2. Try to compile this code:
(defprotocol  MyProtocol :extend-via-metadata true
              (some-fn [this]))
  1. 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

コントリビューターガイド