diff --git a/src/mirage/atom.nim b/src/mirage/atom.nim index e806fa5..242314a 100644 --- a/src/mirage/atom.nim +++ b/src/mirage/atom.nim @@ -105,11 +105,11 @@ proc hash*(atom: MAtom): Hash {.inline.} = of Integer: h = h !& atom.integer.hash() of Object: - for k, v in atom.fields: + for k, v in atom.objFields: h = h !& k.hash() h = h !& v.hash() - h = h !& atom.values.hash() + h = h !& atom.objValues.hash() of Sequence: h = h !& atom.sequence.hash() h = h !& atom.lCap.hash()