Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java

Issue 15736020: generate suggestions during analysis (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorType.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java
index 4bbbd4c3990250ba8580f086799256b73e26bac4..b043bbe55abb57c19129c5ea2d3efd95cfc721d1 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorSeverity.java
@@ -27,6 +27,12 @@ public enum ErrorSeverity {
NONE(" ", "none"),
/**
+ * The severity representing a suggestion. Suggestions are not specified in the Dart language
+ * specification, but provide information about best practices.
+ */
+ SUGGESTION("S", "suggestion"),
+
+ /**
* The severity representing a warning. Warnings can become errors if the {@code -Werror} command
* line flag is specified.
*/
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/ErrorType.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698