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

Unified Diff: lib/src/compiler.dart

Issue 1357713006: Remove redundant call (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | test/codegen_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler.dart
diff --git a/lib/src/compiler.dart b/lib/src/compiler.dart
index 19370587db2dd14b4e7b01b8ce8a845f483ae409..fa8839ab62887045a37bad4c179349fcf5e92511 100644
--- a/lib/src/compiler.dart
+++ b/lib/src/compiler.dart
@@ -288,9 +288,7 @@ abstract class AbstractCompiler {
: context = context,
options = options,
checker = createChecker(context.typeProvider, options.strongOptions,
- reporter ?? AnalysisErrorListener.NULL_LISTENER) {
- enableDevCompilerInference(context, options.strongOptions);
vsm 2015/09/18 22:29:39 I think this call is redundant with the one in ana
- }
+ reporter ?? AnalysisErrorListener.NULL_LISTENER);
static CodeChecker createChecker(TypeProvider typeProvider,
StrongModeOptions options, AnalysisErrorListener reporter) {
« no previous file with comments | « no previous file | test/codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698