aboutsummaryrefslogtreecommitdiff
path: root/src/lux/analyser/base.clj
diff options
context:
space:
mode:
authorEduardo Julian2015-09-06 19:52:07 -0400
committerEduardo Julian2015-09-06 19:52:07 -0400
commit514d03851b20c2f8b818ee26194a93515a685ae5 (patch)
treec4630ab3f849ed73b5f071b98b56965beef674ab /src/lux/analyser/base.clj
parent0f596a44ffc486b7e0369eebd3b79d22315e8814 (diff)
- Added type-inference when constructing tuples.
Diffstat (limited to '')
-rw-r--r--src/lux/analyser/base.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lux/analyser/base.clj b/src/lux/analyser/base.clj
index 8c52748d7..414d005f1 100644
--- a/src/lux/analyser/base.clj
+++ b/src/lux/analyser/base.clj
@@ -126,9 +126,9 @@
)
;; [Exports]
-(defn expr-type [syntax+]
+(defn expr-type* [syntax+]
(|let [[_ type] syntax+]
- (return type)))
+ type))
(defn analyse-1 [analyse exo-type elem]
(|do [output (analyse exo-type elem)]