sighashes: multi-methods should work now

This commit is contained in:
Andreas Rumpf
2016-12-13 11:02:21 +01:00
parent 71a23fbbb7
commit 04b91b0d3b

View File

@@ -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: