diff options
author | Eduardo Julian | 2021-07-10 03:10:43 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-07-10 03:10:43 -0400 |
commit | 4610968193df10af12c91f699fec39aeb3ef703a (patch) | |
tree | 27d1578548ad49f5aefe76fb696a7af10361c9cf /lux-bootstrapper | |
parent | f3e869d0246e956399ec31a074c6c6299ff73602 (diff) |
Made the "try" macro into a common one, instead of a host-specific one.
Diffstat (limited to 'lux-bootstrapper')
-rw-r--r-- | lux-bootstrapper/src/lux/analyser/proc/common.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lux-bootstrapper/src/lux/analyser/proc/common.clj b/lux-bootstrapper/src/lux/analyser/proc/common.clj index 3f89b0ee4..439ad0d10 100644 --- a/lux-bootstrapper/src/lux/analyser/proc/common.clj +++ b/lux-bootstrapper/src/lux/analyser/proc/common.clj @@ -22,7 +22,7 @@ (&type/with-var (fn [$var] (|do [:let [(&/$Cons op (&/$Nil)) ?values] - =op (&&/analyse-1 analyse (&/$Apply $var &type/IO) op) + =op (&&/analyse-1 analyse (&/$Function &type/Any $var) op) _ (&type/check exo-type (&/$Sum &type/Text ;; lux.Left $var ;; lux.Right )) |