Skip to content

Commit 11735c2

Browse files
committed
Update Diagnostic Explorer Page
1 parent e539617 commit 11735c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pages/vscode-extension/webview/diagnostic-explorer.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: Explore how you can use the diagnostic explorer to understand failu
1010

1111
The diagnostic explorer provides an interactive view of LiquidJava diagnostics with extra information not available in the [command-line interface]({{ '/command-line-interface/' | relative_url }}).
1212

13-
Clicking a displayed value can expand it into its origin expression, and clicking a variable can jump to its location in the editor. This makes simplification traceable instead of showing only the final reduced expression.
13+
For refinement errors, LiquidJava performs expression simplification with traceable simplification steps. This makes it possible to progressively expand simplifications. Clicking a value can expand it into its origin expression, and clicking a variable can jump to its location in the editor. This makes simplification traceable instead of showing only the final reduced expression.
1414

1515
![Diagnostic Explorer]({{ 'assets/images/diagnostic-explorer.gif' | relative_url }})
16+
17+
In refinement and state refinement errors, an expandable section displays the context variables (also called translation table). This table maps the internal variable names created during the typechecking to the original source code variables and placement in the code. When clicked, each entry highlights the corresponding part of the source code that corresponds to that variable.

0 commit comments

Comments
 (0)