fix a typo (canonilization => canonicalization) (#18914)

This commit is contained in:
flywind
2021-09-28 15:05:22 +08:00
committed by GitHub
parent 5eb357f5a2
commit 56bd5cbb87

View File

@@ -36,7 +36,7 @@ proc putLazy(c: PPatternContext, sym: PSym, n: PNode) =
proc matches(c: PPatternContext, p, n: PNode): bool
proc canonKind(n: PNode): TNodeKind =
## nodekind canonilization for pattern matching
## nodekind canonicalization for pattern matching
result = n.kind
case result
of nkCallKinds: result = nkCall