Skip to content

Commit 0280778

Browse files
PLeVasseurjmqd
andcommitted
Add guideline overview
Co-authored-by: Jordan McQueen <[email protected]>
1 parent bdba7b6 commit 0280778

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/coding-guidelines/macros.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ Macros
1515
:scope: module
1616
:tags: reduce-human-error
1717

18-
Description of the guideline goes here.
18+
Matchers within macro rules are evaluated sequentially and short-circuit on
19+
the first match. If a specialized fixed matcher follows a broader matcher,
20+
it may be unreachable. This can lead to subtle and surprising bugs. It is
21+
encouraged to avoid the use of specialized, fixed matchers.
1922

2023
.. rationale::
2124
:id: rat_zqr9uEqP6nzW

0 commit comments

Comments
 (0)