[vala/wip/ricotz/lsp-rev: 8/11] 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: 8/11] Revert "vala: Always bail if there are semantic errors"
- Date: Tue, 3 Mar 2020 11:44:55 +0000 (UTC)
commit d410fff2f21fc1cab336dbfd598e1a4b70d6f88f
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 88956caf9..6d2b34b0f 100644
--- a/vala/valacodecontext.vala
+++ b/vala/valacodecontext.vala
@@ -530,9 +530,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]