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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisOptions.java

Issue 610863004: Start implementing checked mode compile time errors in analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes based on review comments and in-person discussion Created 6 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 ad1715fab4dc9807988978fd9da54bb61e4f8d52..6225a1f9c719490fa7777533231c36783ee48fca 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
@@ -75,6 +75,12 @@ public interface AnalysisOptions {
public boolean getEnableEnum();
/**
+ * Return {@code true} if analysis should treat type mismatches found during constant evaluation
+ * as errors.
+ */
+ public boolean getEnableTypeChecks();
+
+ /**
* Return {@code true} if errors, warnings and hints should be generated for sources in the SDK.
* The default value is {@code false}.
*

Powered by Google App Engine
This is Rietveld 408576698