update manual (#19130) [backport]
This commit is contained in:
parent
528ef6c218
commit
3aaa12dbe5
1 changed files with 2 additions and 2 deletions
|
|
@ -6721,11 +6721,11 @@ statement, as seen in stack backtraces:
|
||||||
if not cond:
|
if not cond:
|
||||||
# change run-time line information of the 'raise' statement:
|
# change run-time line information of the 'raise' statement:
|
||||||
{.line: instantiationInfo().}:
|
{.line: instantiationInfo().}:
|
||||||
raise newException(EAssertionFailed, msg)
|
raise newException(AssertionDefect, msg)
|
||||||
|
|
||||||
If the `line` pragma is used with a parameter, the parameter needs be a
|
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,
|
`tuple[filename: string, line: int]`. If it is used without a parameter,
|
||||||
`system.InstantiationInfo()` is used.
|
`system.instantiationInfo()` is used.
|
||||||
|
|
||||||
|
|
||||||
linearScanEnd pragma
|
linearScanEnd pragma
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue