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

Unified Diff: pkg/compiler/lib/src/options.dart

Issue 3004593002: Support enabling of type inference with useKernel (Closed)
Patch Set: Created 3 years, 4 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: pkg/compiler/lib/src/options.dart
diff --git a/pkg/compiler/lib/src/options.dart b/pkg/compiler/lib/src/options.dart
index 057b6d17cb670615a1b882b57067cfa0167a4712..096d66637dac79255a373fd18d09e87c01eee937 100644
--- a/pkg/compiler/lib/src/options.dart
+++ b/pkg/compiler/lib/src/options.dart
@@ -440,10 +440,8 @@ class CompilerOptions implements DiagnosticOptions {
suppressWarnings: suppressWarnings,
suppressHints: suppressHints,
shownPackageWarnings: shownPackageWarnings,
- // TODO(sigmund): remove once we support inlining and type-inference
- // with `useKernel`.
- disableInlining: disableInlining || useKernel,
- disableTypeInference: disableTypeInference || useKernel,
+ disableInlining: disableInlining,
+ disableTypeInference: disableTypeInference,
dumpInfo: dumpInfo,
enableAssertMessage: enableAssertMessage,
enableExperimentalMirrors: enableExperimentalMirrors,

Powered by Google App Engine
This is Rietveld 408576698