mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 11:24:08 +00:00
error message: Nim calls it 'proc'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user