Fix indentation bug

This commit is contained in:
Emery Hemingway 2022-03-14 14:16:38 -05:00
parent 5f746706b6
commit a6b31247cf
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Package
version = "3.1.0" # versioned in git, this version is just to confuse nimble
version = "3.2.0" # versioned in git, this version is just to confuse nimble
author = "Emery Hemingway"
description = "data model and serialization format"
license = "Unlicense"

View File

@ -245,7 +245,7 @@ proc `[]`*(pr, key: Preserve): Preserve =
if pr.isDictionary:
for (k, v) in pr.dict.items:
if k == key: return v
raise newException(KeyError, "value not in Preserves dictionary")
raise newException(KeyError, "value not in Preserves dictionary")
elif (pr.isRecord or pr.isSequence) and key.isInteger:
result = pr[int key.int]
else: