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

Unified Diff: editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerImpl.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: 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.command.analyze/src/com/google/dart/command/analyze/AnalyzerImpl.java
diff --git a/editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerImpl.java b/editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerImpl.java
index 77cebaa0ddc4ba8ac2af6013fadab76c414b0e7b..87b5c76fdde90ee3e40ecc63a62cfe693c901c37 100644
--- a/editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerImpl.java
+++ b/editor/tools/plugins/com.google.dart.command.analyze/src/com/google/dart/command/analyze/AnalyzerImpl.java
@@ -99,6 +99,7 @@ public class AnalyzerImpl {
contextOptions.setEnableAsync(options.getEnableAsync());
contextOptions.setEnableEnum(options.getEnableEnum());
contextOptions.setHint(!options.getDisableHints());
+ contextOptions.setEnableTypeChecks(options.getEnableTypeChecks());
// prepare AnalysisContext
AnalysisContext context = AnalysisEngine.getInstance().createAnalysisContext();

Powered by Google App Engine
This is Rietveld 408576698