Skip to content

Commit f2384c8

Browse files
committed
Fix two protocol extensions that were extending the wrong method
1 parent 4d9cae8 commit f2384c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main/clojure/clojure/tools/trace.clj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,11 @@ such as clojure.core/+"
278278

279279
(extend-type java.lang.Object
280280
ThrowableRecompose
281-
(ctor-select [this _ _] this)) ;; Obviously something is wrong but the trace should not alter processing
281+
(clone-throwable [this _ _] this)) ;; Obviously something is wrong but the trace should not alter processing
282282

283283
(extend-type nil
284284
ThrowableRecompose
285-
(ctor-select [this _ _] this)) ;; Obviously something is wrong but the trace should not alter processing
285+
(clone-throwable [this _ _] this)) ;; Obviously something is wrong but the trace should not alter processing
286286

287287
(defn ^{:skip-wiki true} trace-compose-throwable
288288
"Re-create a new throwable with a composed message from the given throwable

0 commit comments

Comments
 (0)