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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisOptions.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.engine/src/com/google/dart/engine/context/AnalysisOptions.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisOptions.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisOptions.java
index e24f041744e4012c28b82ac09b5ed954c90e2997..b9e44836b24e2bf942dcddccd69ee364bca856f5 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisOptions.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisOptions.java
@@ -19,6 +19,13 @@ package com.google.dart.engine.context;
*/
public interface AnalysisOptions {
/**
+ * Return {@code true} if analysis is to generate dart2js related hint results.
+ *
+ * @return {@code true} if analysis is to generate dart2js related hint results
+ */
+ public boolean getDart2jsHint();
+
+ /**
* Return {@code true} if analysis is to generate hint results (e.g. type inference based
* information and pub best practices).
*

Powered by Google App Engine
This is Rietveld 408576698