From 230c618eb94a02b5d704c4b54d5725488d53a38f Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 6 Nov 2019 22:19:20 +0100 Subject: [PATCH] error message: Nim calls it 'proc' --- compiler/semmagic.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/semmagic.nim b/compiler/semmagic.nim index 4292678976..27d398e1b7 100644 --- a/compiler/semmagic.nim +++ b/compiler/semmagic.nim @@ -431,7 +431,7 @@ proc magicsAfterOverloadResolution(c: PContext, n: PNode, of mNewFinalize: # Make sure the finalizer procedure refers to a procedure if n[^1].kind == nkSym and n[^1].sym.kind notin {skProc, skFunc}: - localError(c.config, n.info, "finalizer must be a direct reference to a procedure") + localError(c.config, n.info, "finalizer must be a direct reference to a proc") result = n of mDestroy: result = n