sighashes: multi-methods should work now
This commit is contained in:
parent
71a23fbbb7
commit
04b91b0d3b
1 changed files with 2 additions and 0 deletions
|
|
@ -263,6 +263,8 @@ proc hashProc*(s: PSym): SigHash =
|
|||
c &= p.name.s
|
||||
c &= "."
|
||||
c &= m.name.s
|
||||
if sfDispatcher in s.flags:
|
||||
c &= ".dispatcher"
|
||||
# so that createThread[void]() (aka generic specialization) gets a unique
|
||||
# hash, we also hash the line information. This is pretty bad, but the best
|
||||
# solution for now:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue