diff options
author | Eduardo Julian | 2018-01-02 00:01:08 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-01-02 00:01:08 -0400 |
commit | 323f0cf607a7ac698eea94b1b0b3bf40c0e0141c (patch) | |
tree | 437c174281a1370e0a1f8aef54a6aecc45807086 /luxc | |
parent | 2b4e4cf581a1a709f02df11a70c1fa99a0ec18fa (diff) |
- Fixed a bug during optimization in old luxc.
Diffstat (limited to '')
-rw-r--r-- | luxc/src/lux/optimizer.clj | 2 |
1 files changed, 1 insertions, 1 deletions
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)))])) |