add -d:nimLegacyNoHashRef for a transition period which avoids defining hash(ref) (#17858)
This commit is contained in:
parent
fdfd0f35a1
commit
3f58b7face
2 changed files with 23 additions and 17 deletions
|
|
@ -51,6 +51,7 @@
|
|||
for previous behavior.
|
||||
|
||||
- `hashes.hash` now supports `object` and `ref` (can be overloaded in user code).
|
||||
For a transition period, use `-d:nimLegacyNoHashRef` to avoid defining `hash(ref)`.
|
||||
- `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