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 1868
1868
(throw
1869
1869
(missing-protocol
1870
1870
~(core/str psym " ." fname) ~(first sig))))))))))
1871
- psym (-> psym
1871
+ psym (core/ -> psym
1872
1872
(vary-meta update-in [:jsdoc ] conj
1873
1873
" @interface" )
1874
1874
(vary-meta assoc-in [:protocol-info :methods ]
Original file line number Diff line number Diff line change 51
51
52
52
(deftest test-analyze-str
53
53
(async done
54
- (let [l (latch 1 done)]
54
+ (let [l (latch 2 done)]
55
55
(cljs/analyze-str st " (+ 1 1)" nil
56
56
{:context :expr }
57
57
(fn [{:keys [error value]}]
58
58
(is (nil? error))
59
59
(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))
60
65
(inc! l))))))
61
66
62
67
(deftest test-compile-str
You can’t perform that action at this time.
0 commit comments