Repository navigation
[1033] 修复 (liii match) 中 ..1 模式匹配 - #1090
Merged
Merged
Conversation
da-liii
force-pushed
the
da/1033/match_ellipsis_one
branch
from
October 9, 2026 07:40
621c5a1 to
f11ea8e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
match-two中..1模式匹配规则,支持带尾部模式的(p ..1 . r)分发;match-gen-ellipsis中min-len约束检验,支持min-len = 1时非空列表(且为 proper-list)及尾部模式的长度检验;match-vector中对..1的分发顺序与match-gen-vector-ellipsis长度检验;tests/liii/match/match-test.scm中针对..1模式匹配的全面测试用例(覆盖单一/多元素、空列表、非列表、尾部模式、嵌套解构、向量及衍生宏)。