1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 07:33:01 +00:00
This commit is contained in:
Calvin Rose
2020-12-11 19:21:54 -06:00
parent 12f470ed10
commit 6020106000
2 changed files with 2 additions and 1 deletions

View File

@@ -1652,7 +1652,7 @@
# match data structure template
(or isarr (= t :struct) (= t :table))
(eachp [i sub-pattern] pattern
(when (not= t :array)
(when (not isarr)
(array/push anda [not= nil (get-sym s i)]))
(visit-pattern-2 anda gun preds s i sub-pattern))