aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2016-09-29 19:10:46 -0400
committerEduardo Julian2016-09-29 19:10:46 -0400
commit08dc1fdd08d5b92ad058cd6519e00db9fc7c5f57 (patch)
tree4b192ce89a84b0d1f7fcd7b07212d7dcabcfb24d
parent88dd3eb5d452615c7d8135e5ae761427c7252b1c (diff)
- Fixed a bug that was rejecting class names with underscores and other strange characters.
-rw-r--r--src/lux/type/host.clj2
1 files changed, 1 insertions, 1 deletions
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"