SCI: simplify handling of metadata

This commit is contained in:
Michiel Borkent 2022-02-17 11:49:24 +01:00
parent b6de3dee05
commit 5dfe9c42ae
2 changed files with 4 additions and 5 deletions

2
sci

@ -1 +1 @@
Subproject commit 388c9e2aa57b8f5601023a11400d93b52fddafe4
Subproject commit dfa619d6fd5e04014e9b4983743c7f7e562651de

View file

@ -347,10 +347,9 @@
{:ujoin {:u1 [:x] :u2 [:y]}}])]
(is (= {:type :root,
:children [{:type :prop, :dispatch-key :x, :key :x}
;; BB-TEST-PATCH: bb returns {} for some meta calls that clojure doesn't
{:type :join, :dispatch-key :y, :key :y, :query [{:z [:a]}] :meta {}}
{:type :join, :dispatch-key :table, :key [:table 1], :query [:z {:other [:m :n]}] :meta {}}
{:type :join, :dispatch-key :ujoin, :key :ujoin, :query {:u1 [:x], :u2 [:y]} :meta {}}]}
{:type :join, :dispatch-key :y, :key :y, :query [{:z [:a]}]}
{:type :join, :dispatch-key :table, :key [:table 1], :query [:z {:other [:m :n]}]}
{:type :join, :dispatch-key :ujoin, :key :ujoin, :query {:u1 [:x], :u2 [:y]}}]}
ast)))))