From 08dc1fdd08d5b92ad058cd6519e00db9fc7c5f57 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 29 Sep 2016 19:10:46 -0400 Subject: - Fixed a bug that was rejecting class names with underscores and other strange characters. --- src/lux/type/host.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lux/type/host.clj b/src/lux/type/host.clj index b3858d2e5..1f451bbdd 100644 --- a/src/lux/type/host.clj +++ b/src/lux/type/host.clj @@ -64,7 +64,7 @@ (&/fold2 matcher (&/|table) sub-type-params params))) ;; [Exports] -(let [class-name-re #"((\[+)L([\.a-zA-Z0-9\$]+);|([\.a-zA-Z0-9\$]+)|(\[+)([ZBSIJFDC]))" +(let [class-name-re #"((\[+)L([^\s]+);|([^\s]+)|(\[+)([ZBSIJFDC]))" jprim->lprim (fn [prim] (case prim "Z" "boolean" -- cgit v1.2.3