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 a4e40e7 commit 4d3c059Copy full SHA for 4d3c059
CHANGELOG.md
@@ -1,5 +1,6 @@
1
## master
2
- Fix issue with highlighting of templates introduced in release 1.2.0.
3
+- Fix crash when the project contains OCaml files that have warnings.
4
5
## 1.2.0
6
server/src/utils.ts
@@ -440,6 +440,13 @@ export let parseCompilerLogOutput = (
440
// do nothing for now
441
} else if (line.startsWith("#Done(")) {
442
done = true;
443
+ } else if (
444
+ line.startsWith("File ") &&
445
+ i + 1 < lines.length &&
446
+ lines[i + 1].startsWith("Warning ")
447
+ ) {
448
+ // OCaml warning: skip
449
+ i++;
450
} else if (/^ +([0-9]+| +|\.) (│|┆)/.test(line)) {
451
// ^^ indent
452
// ^^^^^^^^^^^^^^^ gutter
0 commit comments