make tests green again
This commit is contained in:
parent
d337e4a932
commit
eaca62f331
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue