From 56a1c6722d3e306a14cac8902ced9622944e7156 Mon Sep 17 00:00:00 2001 From: Lars Andersen Date: Sat, 31 Dec 2016 15:23:59 +0100 Subject: [PATCH] Fix bencode serialization of keywords and symbols --- src/refactor_nrepl/middleware.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/refactor_nrepl/middleware.clj b/src/refactor_nrepl/middleware.clj index 5730683d..ea6bdc16 100644 --- a/src/refactor_nrepl/middleware.clj +++ b/src/refactor_nrepl/middleware.clj @@ -53,7 +53,9 @@ (walk/postwalk (fn [v] (cond (or (keyword? v) (symbol? v)) - (str v) + (if-let [prefix (core/prefix v)] + (core/fully-qualify prefix v) + (name v)) (set? v) (list v)