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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/model/ContextManager.java

Issue 23496048: Add additional hints to the analyzer to catch the 'x is double' dart2js bug. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase to latest & merge Created 7 years, 3 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
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/model/ContextManager.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/model/ContextManager.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/model/ContextManager.java
index f999393d7c8628941fc7f4a27b36e1586b889fa5..8077de344cd2cb962082e1dd48d5c976250c0a31 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/model/ContextManager.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/model/ContextManager.java
@@ -176,6 +176,14 @@ public interface ContextManager {
/**
* Set the hint option for all the analysis context, based on changes to the hint preference
+ * DartCore.ENABLE_HINTS_DART2JS_PREFERENCE
+ *
+ * @param enableDart2JSHints
+ */
+ void setDart2JSHintOption(boolean enableDart2JSHints);
+
+ /**
+ * Set the hint option for all the analysis context, based on changes to the hint preference
* DartCore.ENABLE_HINT_PREFERENCE
*
* @param enableHint

Powered by Google App Engine
This is Rietveld 408576698