From 323f0cf607a7ac698eea94b1b0b3bf40c0e0141c Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 2 Jan 2018 00:01:08 -0400 Subject: - Fixed a bug during optimization in old luxc. --- luxc/src/lux/optimizer.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'luxc') diff --git a/luxc/src/lux/optimizer.clj b/luxc/src/lux/optimizer.clj index 72dd1e4a5..25958712f 100644 --- a/luxc/src/lux/optimizer.clj +++ b/luxc/src/lux/optimizer.clj @@ -669,7 +669,7 @@ (|case var-kind (&/$Local 0) (&/T [meta ($apply body - (&/|list [meta ($var (&/$Local 1))]))]) + (&/|list (&/T [meta ($var (&/$Local 1))])))]) (&/$Local idx) (&/T [meta ($var (&/$Local (inc idx)))])) -- cgit v1.2.3