Skip to content

Commit d98cbde

Browse files
committed
Update Diagnostic Structure
1 parent 3bde981 commit d98cbde

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Each part gives a different piece of information:
2424
| `result must be positive` | The custom error message from the annotation's `msg` parameter |
2525
| `Counterexample: x == 1 && #ret² == 0` | A concrete model showing why the check fails. Here we can see the failure arises because if `x == 1`, then `x / 2 == 0` |
2626

27+
The error message also includes the absolute path of the file and line where the error was reported, which can be clicked to jump the source code location in the editor.
28+
2729
## Understanding the Counterexample
2830

2931
The counterexample is a concrete assignment of values that makes the verification fail.

diagnostics/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cards:
1313
url: /diagnostics/warnings/
1414
description: Learn about the different verification warnings LiquidJava can report and what each one means.
1515
- title: Structure
16-
url: /diagnostics/structure/
16+
url: /diagnostics/diagnostic-structure/
1717
description: Learn how to understand a diagnostic message.
1818
- title: Custom Messages
1919
url: /diagnostics/custom-messages/

0 commit comments

Comments
 (0)