Closed gafter closed 1 year ago
The tests assume that hash(:F) is the same value as hash(:F, UInt(0)). That has not been the case since Julia added an optimization for the former:
hash(:F)
hash(:F, UInt(0))
hash(x::Symbol) = objectid(x)
Since the generated code uses the latter, the tests that verify the generated hash code should also use the former for comparison.
(Please assign this to me, or let me know if there is a new home for this macro)
Tests are now passing.
The tests assume that
hash(:F)
is the same value ashash(:F, UInt(0))
. That has not been the case since Julia added an optimization for the former:Since the generated code uses the latter, the tests that verify the generated hash code should also use the former for comparison.
(Please assign this to me, or let me know if there is a new home for this macro)