fix a typo (canonilization => canonicalization) (#18914)
This commit is contained in:
parent
5eb357f5a2
commit
56bd5cbb87
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ proc putLazy(c: PPatternContext, sym: PSym, n: PNode) =
|
||||||
proc matches(c: PPatternContext, p, n: PNode): bool
|
proc matches(c: PPatternContext, p, n: PNode): bool
|
||||||
|
|
||||||
proc canonKind(n: PNode): TNodeKind =
|
proc canonKind(n: PNode): TNodeKind =
|
||||||
## nodekind canonilization for pattern matching
|
## nodekind canonicalization for pattern matching
|
||||||
result = n.kind
|
result = n.kind
|
||||||
case result
|
case result
|
||||||
of nkCallKinds: result = nkCall
|
of nkCallKinds: result = nkCall
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue