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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 23641006: Enable type inference when using mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index da3744e23e9473b09264574e9d3bd65d6e6cd801..460d5bfa6992e2634005b4f05edaf5bc5db56ae8 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -637,9 +637,7 @@ abstract class Compiler implements DiagnosticListener {
bool get compileAll => false;
- bool get disableTypeInference {
- return disableTypeInferenceFlag || disableTypeInferenceForMirrors;
- }
+ bool get disableTypeInference => disableTypeInferenceFlag;
int getNextFreeClassId() => nextFreeClassId++;

Powered by Google App Engine
This is Rietveld 408576698