mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
make tests green again
This commit is contained in:
@@ -152,7 +152,7 @@ proc hashType(c: var MD5Context, t: PType; flags: set[ConsiderFlag]) =
|
||||
for i in countup(0, sonsLen(t) - 1):
|
||||
c.hashType t.sons[i], flags
|
||||
of tyDistinct:
|
||||
if {CoType, CoConsiderOwned} * flags == {CoType}:
|
||||
if {CoType, CoConsiderOwned} * flags == {CoType} or t.sym == nil:
|
||||
c.hashType t.lastSon, flags
|
||||
else:
|
||||
c.hashSym(t.sym)
|
||||
|
||||
Reference in New Issue
Block a user