From 4f0c3274ee96bbefe716f8725b0975799b7663b9 Mon Sep 17 00:00:00 2001 From: Neelesh Chandola Date: Sun, 27 Jan 2019 21:59:33 +0530 Subject: [PATCH] Fix example in manual for line pragma (#10468) --- doc/manual.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual.rst b/doc/manual.rst index 09b9b4d784..f8a5887916 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -6922,7 +6922,7 @@ statement as seen in stack backtraces: template myassert*(cond: untyped, msg = "") = if not cond: # change run-time line information of the 'raise' statement: - {.line: InstantiationInfo().}: + {.line: instantiationInfo().}: raise newException(EAssertionFailed, msg) If the ``line`` pragma is used with a parameter, the parameter needs be a