fix a typo (#18736)
This commit is contained in:
parent
2d84f6e7c8
commit
8a8267e2bc
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ proc hashType(c: var MD5Context, t: PType; flags: set[ConsiderFlag]) =
|
||||||
if t.n.len > 0:
|
if t.n.len > 0:
|
||||||
let oldFlags = symWithFlags.flags
|
let oldFlags = symWithFlags.flags
|
||||||
# Hack to prevent endless recursion
|
# Hack to prevent endless recursion
|
||||||
# xxx intead, use a hash table to indicate we've already visited a type, which
|
# xxx instead, use a hash table to indicate we've already visited a type, which
|
||||||
# would also be more efficient.
|
# would also be more efficient.
|
||||||
symWithFlags.flags.excl {sfAnon, sfGenSym}
|
symWithFlags.flags.excl {sfAnon, sfGenSym}
|
||||||
hashTree(c, t.n, flags + {CoHashTypeInsideNode})
|
hashTree(c, t.n, flags + {CoHashTypeInsideNode})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue