fix int set construction

This commit is contained in:
unknown 2022-12-08 11:54:12 +08:00
parent 61368e24ed
commit 35862fa5c7

View file

@ -167,7 +167,7 @@ proc parsePath*(path: string): Path {.raises: [PixieError].} =
armed = true armed = true
template expectsArcFlag(): bool = 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: while p < path.len:
case path[p]: case path[p]: