From 065d907c62a8be001ff4766196948c63d36a9923 Mon Sep 17 00:00:00 2001 From: metagn <10591326+metagn@users.noreply.github.com> Date: Mon, 1 May 2023 13:08:47 +0300 Subject: [PATCH] fix CI --- nimpretty/tests/exhaustive.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimpretty/tests/exhaustive.nim b/nimpretty/tests/exhaustive.nim index 36d3dd86d4..bcf8256656 100644 --- a/nimpretty/tests/exhaustive.nim +++ b/nimpretty/tests/exhaustive.nim @@ -267,7 +267,7 @@ proc emitTok*(em: var Emitter; L: TLexer; tok: TToken) = if not em.endsInWhite: wr(" ") wr(tok.ident.s) template isUnary(tok): bool = - p.tok.spacing == {tsLeading} + tok.spacing == {tsLeading} if not isUnary(tok) or em.lastTok in {tkOpr, tkDotDot}: wr(" ")