mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
update manual (#19130) [backport]
This commit is contained in:
@@ -6721,11 +6721,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
|
||||
|
||||
Reference in New Issue
Block a user