-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
rename case statement macro from match to case
#16923
Conversation
CI seems fine. Maybe don't merge yet, PRs could be made to fusion etc in anticipation of this first, also could lift from experimental as said in the RFC but PRs for that would have to be after the merge |
when true:
import fusion/matching
{.experimental: "caseStmtMacros".}
case (1, 2):
of (3, 4), (1, 2):
discard
else:
discard works before this PR, fails after
|
The change to rename |
|
Would be fine with both of these getting done, just initially neither seemed necessary to me. |
* rename case statement macro from match to `case` * fix test
closes nim-lang/RFCs#332
Mostly to see what breaks