File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 18681868 (throw
18691869 (missing-protocol
18701870 ~(core/str psym " ." fname) ~(first sig))))))))))
1871- psym (-> psym
1871+ psym (core/ -> psym
18721872 (vary-meta update-in [:jsdoc ] conj
18731873 " @interface" )
18741874 (vary-meta assoc-in [:protocol-info :methods ]
Original file line number Diff line number Diff line change 5151
5252(deftest test-analyze-str
5353 (async done
54- (let [l (latch 1 done)]
54+ (let [l (latch 2 done)]
5555 (cljs/analyze-str st " (+ 1 1)" nil
5656 {:context :expr }
5757 (fn [{:keys [error value]}]
5858 (is (nil? error))
5959 (is (= :js (:op value)))
60+ (inc! l)))
61+ (cljs/analyze-str st " (defprotocol IFoo)" nil
62+ {:context :expr }
63+ (fn [{:keys [error value]}]
64+ (is (nil? error))
6065 (inc! l))))))
6166
6267(deftest test-compile-str
You can’t perform that action at this time.
0 commit comments