diff options
author | def <dennis@felsin9.de> | 2016-02-09 08:27:43 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2016-02-24 19:03:55 +0100 |
commit | 887a8d1f0a5f5f88d275b68eb92b15e4d4eccfc7 (patch) | |
tree | d15121e644eeec814909f3aa542b0f952de54bd4 /lib | |
parent | 510a503f341f616cdf97af1231b2a704778b514e (diff) | |
download | Nim-887a8d1f0a5f5f88d275b68eb92b15e4d4eccfc7.tar.gz |
Annotate hash with {.noSideEffect.}
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/json.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim index b53bc3f02..3565e2feb 100644 --- a/lib/pure/json.nim +++ b/lib/pure/json.nim @@ -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 |