Skip to content

Commit

Permalink
update manual (#19130) [backport]
Browse files Browse the repository at this point in the history
(cherry picked from commit 3aaa12d)
  • Loading branch information
ringabout authored and narimiran committed Nov 17, 2021
1 parent cfee71e commit 73366c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6699,11 +6699,11 @@ statement, as seen in stack backtraces:
if not cond:
# change run-time line information of the 'raise' statement:
{.line: instantiationInfo().}:
raise newException(EAssertionFailed, msg)
raise newException(AssertionDefect, msg)
If the `line` pragma is used with a parameter, the parameter needs be a
`tuple[filename: string, line: int]`. If it is used without a parameter,
`system.InstantiationInfo()` is used.
`system.instantiationInfo()` is used.


linearScanEnd pragma
Expand Down

0 comments on commit 73366c0

Please sign in to comment.