Skip to content

Add alternative Patterns constructor#8755

Merged
APickledWalrus merged 3 commits into
dev/featurefrom
feature/alternative-patterns-constructor
Jul 20, 2026
Merged

Add alternative Patterns constructor#8755
APickledWalrus merged 3 commits into
dev/featurefrom
feature/alternative-patterns-constructor

Conversation

@APickledWalrus

Copy link
Copy Markdown
Member

Problem

Patterns creation is a bit bulky given the array arguments.

Solution

I've added a simplified constructor that simply takes in a variable number of objects. The input is expected in the same format: pattern1, value1, pattern2, value2, ...

Testing Completed

Tested on a few existing elements to verify functionality.

Supporting Information

n/a


Completes: none
Related: none
AI assistance: none

@APickledWalrus
APickledWalrus requested a review from a team as a code owner July 6, 2026 19:41
@APickledWalrus
APickledWalrus requested review from Pesekjak and TheMug06 and removed request for a team July 6, 2026 19:41
@skriptlang-automation skriptlang-automation Bot added the needs reviews A PR that needs additional reviews label Jul 6, 2026
@skriptlang-automation skriptlang-automation Bot added the needs triage An issue that hasn't been classified or verified yet label Jul 6, 2026
@skriptlang-automation

This comment has been minimized.

@skriptlang-automation skriptlang-automation Bot added enhancement Feature request, an issue about something that could be improved, or a PR improving something. and removed needs triage An issue that hasn't been classified or verified yet labels Jul 6, 2026
@skriptlang-automation skriptlang-automation Bot added feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. and removed needs reviews A PR that needs additional reviews labels Jul 14, 2026
@APickledWalrus
APickledWalrus merged commit c339816 into dev/feature Jul 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants