From 35862fa5c708496b2c5b7c18775c6987a8ec0737 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 8 Dec 2022 11:54:12 +0800 Subject: [PATCH] fix int set construction --- src/pixie/paths.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixie/paths.nim b/src/pixie/paths.nim index 2e16005..5b34efc 100644 --- a/src/pixie/paths.nim +++ b/src/pixie/paths.nim @@ -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]: