From cc5e373ce9fae786e6b93afece4cfd31875c028c Mon Sep 17 00:00:00 2001 From: Stephen Brady Date: Mon, 8 Aug 2016 12:59:23 -0700 Subject: [PATCH] Add string type hint for Exception constructor in deftask --- boot/core/src/boot/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/core/src/boot/core.clj b/boot/core/src/boot/core.clj index e29f6dd5..605c154f 100644 --- a/boot/core/src/boot/core.clj +++ b/boot/core/src/boot/core.clj @@ -894,7 +894,7 @@ (let [msg# (delay (format "deftask %s/%s was overridden\n" *ns* '~sym))] (boot.util/warn (if (<= @util/*verbosity* 2) @msg# - (ex/format-exception (Exception. @msg#))))))) + (ex/format-exception (Exception. ^String @msg#))))))) (cli2/defclifn ~(vary-meta sym assoc ::task true) ~@heads ~bindings