aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/type.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/meta/type.lux')
-rw-r--r--stdlib/source/library/lux/meta/type.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/library/lux/meta/type.lux b/stdlib/source/library/lux/meta/type.lux
index 1664ce98a..e71bafc42 100644
--- a/stdlib/source/library/lux/meta/type.lux
+++ b/stdlib/source/library/lux/meta/type.lux
@@ -367,7 +367,7 @@
(def .public (flat_array type)
(-> Type [Nat Type])
(case type
- (^.multi (pattern {.#Primitive name (list element_type)})
+ (^.multi {.#Primitive name (list element_type)}
(text#= array.type_name name))
(.let [[depth element_type] (flat_array element_type)]
[(++ depth) element_type])