We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528ef6c commit 3aaa12dCopy full SHA for 3aaa12d
doc/manual.rst
@@ -6721,11 +6721,11 @@ statement, as seen in stack backtraces:
6721
if not cond:
6722
# change run-time line information of the 'raise' statement:
6723
{.line: instantiationInfo().}:
6724
- raise newException(EAssertionFailed, msg)
+ raise newException(AssertionDefect, msg)
6725
6726
If the `line` pragma is used with a parameter, the parameter needs be a
6727
`tuple[filename: string, line: int]`. If it is used without a parameter,
6728
-`system.InstantiationInfo()` is used.
+`system.instantiationInfo()` is used.
6729
6730
6731
linearScanEnd pragma
0 commit comments