fixes #5135
This commit is contained in:
parent
c166394024
commit
06a8d37f9a
3 changed files with 14 additions and 0 deletions
|
|
@ -281,6 +281,11 @@ proc hashNonProc*(s: PSym): SigHash =
|
|||
c &= it.name.s
|
||||
c &= "."
|
||||
it = it.owner
|
||||
# for bug #5135 we also take the position into account, but only
|
||||
# for parameters, because who knows what else position dependency
|
||||
# might cause:
|
||||
if s.kind == skParam:
|
||||
c &= s.position
|
||||
md5Final c, result.Md5Digest
|
||||
|
||||
proc hashOwner*(s: PSym): SigHash =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue