From 3c2ec5c91a807de2e65eec56be8447e9e5172ed6 Mon Sep 17 00:00:00 2001 From: CrossNox Date: Sat, 26 Nov 2022 23:34:29 -0300 Subject: [PATCH] fix code --- src/rustint/core.clj | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/rustint/core.clj b/src/rustint/core.clj index 5f9b5e9..fefaa73 100644 --- a/src/rustint/core.clj +++ b/src/rustint/core.clj @@ -2164,7 +2164,13 @@ ; true ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defn compatibles? [rtype arg] - (let [rtypes (hash-map 'i64 integer?, 'f64 float?, 'String string?), func (get rtypes rtype)] + (let [rtypes ( + hash-map + 'i64 integer?, + 'f64 float?, + 'String string?, + 'bool boolean? + ), func (get rtypes rtype)] (or (vector? arg) (func arg)) ) )