Merge pull request #513 from bung87/fix-int-set-construction

fix int set construction
This commit is contained in:
Ryan Oldenburg 2022-12-09 11:47:17 -06:00 committed by GitHub
commit 64b5f0a316
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,7 @@ proc parsePath*(path: string): Path {.raises: [PixieError].} =
armed = true
template expectsArcFlag(): bool =
kind in {Arc, RArc} and numbers.len mod 7 in {3, 4}
kind in {Arc, RArc} and numbers.len mod 7 in [3, 4]
while p < path.len:
case path[p]: