[vala/wip/ricotz/lsp-rev: 5/9] Revert "vala: Always bail if there are semantic errors"
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/ricotz/lsp-rev: 5/9] Revert "vala: Always bail if there are semantic errors"
- Date: Wed, 19 Feb 2020 15:02:39 +0000 (UTC)
commit 2af2c6fb00a28753b0236c05cd16d907a58b9fb3
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Feb 19 14:25:45 2020 +0100
Revert "vala: Always bail if there are semantic errors"
This reverts commit 217c84bcd1f1f4884e9fda044b6af9e140f8fe94.
vala/valacodecontext.vala | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/vala/valacodecontext.vala b/vala/valacodecontext.vala
index 1c3ad77cd..9bce9f19d 100644
--- a/vala/valacodecontext.vala
+++ b/vala/valacodecontext.vala
@@ -520,9 +520,7 @@ public class Vala.CodeContext {
analyzer.analyze (this);
- // Don't run the FlowAnalyzer if we have semantic errors, since
- // the messages from FlowAnalyzer will usually be nonsensical.
- if (report.get_errors () > 0) {
+ if (!keep_going && report.get_errors () > 0) {
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]