From 2a246bff2c315f6201c5ad7e68431c9bb1a20c9e Mon Sep 17 00:00:00 2001 From: Joel Lienhard Date: Sun, 5 Nov 2023 08:41:16 +0100 Subject: [PATCH] use result for return --- karax/karaxdsl.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karax/karaxdsl.nim b/karax/karaxdsl.nim index 05e36d4..8980aab 100644 --- a/karax/karaxdsl.nim +++ b/karax/karaxdsl.nim @@ -57,7 +57,7 @@ proc handleNoRedrawPragma(call: NimNode, tmpContext, name, anon: NimNode): NimNo if hasNoRedrawPragma: return newCall(ident"addEventHandlerNoRedraw", tmpContext, newDotExpr(bindSym"EventKind", name), anon) - call + result = call proc tcall2(n, tmpContext: NimNode): NimNode = # we need to distinguish statement and expression contexts: