Tensegritics/ClojureDart

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

Open

#218 创建于 2023年4月3日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Clojure (115 fork)batch import
enhancementgood first issue

仓库指标

Star
 (1,618 star)
PR 合并指标
 (平均合并 11天 17小时) (30 天内合并 6 个 PR)

描述

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

贡献者指南