Skip to content

Commit 3aaa12d

Browse files
authored
update manual (#19130) [backport]
1 parent 528ef6c commit 3aaa12d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/manual.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6721,11 +6721,11 @@ statement, as seen in stack backtraces:
67216721
if not cond:
67226722
# change run-time line information of the 'raise' statement:
67236723
{.line: instantiationInfo().}:
6724-
raise newException(EAssertionFailed, msg)
6724+
raise newException(AssertionDefect, msg)
67256725
67266726
If the `line` pragma is used with a parameter, the parameter needs be a
67276727
`tuple[filename: string, line: int]`. If it is used without a parameter,
6728-
`system.InstantiationInfo()` is used.
6728+
`system.instantiationInfo()` is used.
67296729

67306730

67316731
linearScanEnd pragma

0 commit comments

Comments
 (0)