diff options
author | Neelesh Chandola <neelesh.chandola@outlook.com> | 2019-01-27 21:59:33 +0530 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2019-01-27 17:29:33 +0100 |
commit | 4f0c3274ee96bbefe716f8725b0975799b7663b9 (patch) | |
tree | 12330da4ee31c0cf2bb6b7916e8617ccb72cd0c8 /doc/manual.rst | |
parent | 7533f3bcbd1990badce757ad3c318211a6866303 (diff) | |
download | Nim-4f0c3274ee96bbefe716f8725b0975799b7663b9.tar.gz |
Fix example in manual for line pragma (#10468)
Diffstat (limited to 'doc/manual.rst')
-rw-r--r-- | doc/manual.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.rst b/doc/manual.rst index 09b9b4d78..f8a588791 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 |