You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: diagnostics/diagnostic-structure.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ Each part gives a different piece of information:
24
24
|`result must be positive`| The custom error message from the annotation's `msg` parameter |
25
25
|`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`|
26
26
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
+
27
29
## Understanding the Counterexample
28
30
29
31
The counterexample is a concrete assignment of values that makes the verification fail.
0 commit comments