Skip to content

Commit 6bc133b

Browse files
committed
Release 0.0.42
1 parent f18ac24 commit 6bc133b

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "liquid-java",
33
"displayName": "LiquidJava",
44
"description": "Extending Java with Liquid Types",
5-
"version": "0.0.41",
5+
"version": "0.0.42",
66
"publisher": "AlcidesFonseca",
77
"repository": {
88
"type": "git",
442 Bytes
Binary file not shown.

client/src/types/diagnostics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export type RefinementError = BaseDiagnostic & {
6565
category: 'error';
6666
type: 'refinement-error';
6767
translationTable: TranslationTable;
68-
expected: ValDerivationNode;
68+
expected: string; // ValDerivationNode
6969
found: ValDerivationNode;
7070
}
7171

client/src/webview/renderers/diagnostics/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function renderError(error: LJError): string {
4747
const e = error as RefinementError;
4848
return /*html*/`
4949
${header}
50-
${renderSection('Expected', renderDerivationNode(e, e.expected))}
50+
<pre>${e.expected/*renderSection('Expected', renderDerivationNode(e, e.expected))*/} </pre>
5151
${renderSection('Found', renderDerivationNode(e, e.found))}
5252
${location}
5353
`;

server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
<dependency>
174174
<groupId>io.github.liquid-java</groupId>
175175
<artifactId>liquidjava-verifier</artifactId>
176-
<version>0.0.8</version>
176+
<version>0.0.9</version>
177177
</dependency>
178178
<dependency>
179179
<groupId>tools.aqua</groupId>

server/src/main/java/dtos/errors/RefinementErrorDTO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* DTO for serializing RefinementError instances to JSON
1010
*/
1111
public record RefinementErrorDTO(String category, String type, String title, String message, String file, ErrorPosition position,
12-
TranslationTableDTO translationTable, ValDerivationNode expected, ValDerivationNode found) {
12+
TranslationTableDTO translationTable, String expected, ValDerivationNode found) {
1313

1414
public static RefinementErrorDTO from(RefinementError error) {
1515
return new RefinementErrorDTO("error", "refinement-error", error.getTitle(), error.getMessage(), error.getFile(),

0 commit comments

Comments
 (0)