Annotate hash with {.noSideEffect.}
This commit is contained in:
parent
510a503f34
commit
887a8d1f0a
1 changed files with 1 additions and 1 deletions
|
|
@ -761,7 +761,7 @@ proc `==`* (a,b: JsonNode): bool =
|
|||
of JObject:
|
||||
a.fields == b.fields
|
||||
|
||||
proc hash*(n: Table[string, JsonNode]): Hash
|
||||
proc hash*(n: Table[string, JsonNode]): Hash {.noSideEffect.}
|
||||
|
||||
proc hash*(n: JsonNode): Hash =
|
||||
## Compute the hash for a JSON node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue