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

This commit is contained in:
flywind 2021-09-28 15:05:22 +08:00 • committed by GitHub
commit 56bd5cbb87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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