mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 19:34:12 +00:00
sighashes: multi-methods should work now
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user