Skip to content

add expr_2021 and pat_param to fragment_specifier #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 1, 2025

Conversation

m4rch3n1ng
Copy link
Contributor

@m4rch3n1ng m4rch3n1ng commented Mar 7, 2025

adds expr_2021 and pat_param to possible fragment specifiers. added for backwards compatability for the release of the 2024 edition and the 2021 edition respectively.

diff for #229:

diff
--- .tmp/list.txt	2025-03-07 03:57:30.021995759 +0100
+++ .tmp/list.txt.expr-2021	2025-03-07 03:00:11.631475182 +0100
@@ -211,8 +211,6 @@
 tests/ui/lint/semicolon-in-expressions-from-macros/semicolon-in-expressions-from-macros.rs
 tests/ui/lint/unused/trait-alias-supertrait.rs
 tests/ui/liveness/liveness-upvars.rs
-tests/ui/macros/edition-macro-pats.rs
-tests/ui/macros/expr_2021.rs
 tests/ui/macros/issue-44127.rs
 tests/ui/macros/issue-63102.rs
 tests/ui/macros/issue-77475.rs

@maxbrunsfeld maxbrunsfeld merged commit 377ca96 into tree-sitter:master Apr 1, 2025
4 checks passed
@m4rch3n1ng m4rch3n1ng deleted the expr-2021 branch April 1, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants