rename nimEnableHashRef [backport] (#18941)
* rename nimEnableHashRef [backport] * Apply suggestions from code review Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
This commit is contained in:
parent
f017eadc97
commit
e7bac91773
5 changed files with 16 additions and 8 deletions
|
|
@ -64,7 +64,8 @@
|
|||
for previous behavior.
|
||||
|
||||
- `hashes.hash` can now support `object` and `ref` (can be overloaded in user code),
|
||||
if `-d:nimEnableHashRef` is used.
|
||||
if `-d:nimPreviewHashRef` is used. It is expected that this behavior
|
||||
becomes the new default in upcoming versions.
|
||||
|
||||
- `hashes.hash(proc|ptr|ref|pointer)` now calls `hash(int)` and honors `-d:nimIntHash1`,
|
||||
`hashes.hash(closure)` has also been improved.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue