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