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: sdk/lib/_internal/compiler/implementation/compile_time_constants.dart

Issue 14907008: Remove support for interface in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 7 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 | sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
index cb39371caba9a09fc6722648de16404c3eed6f73..dc99d27854c59c90d7ef520afa89aaf0702c759c 100644
--- a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
+++ b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
@@ -647,11 +647,6 @@ class CompileTimeConstantEvaluator extends Visitor {
FunctionElement constructor = elements[send];
constructor = constructor.redirectionTarget;
ClassElement classElement = constructor.getEnclosingClass();
- if (classElement.isInterface()) {
- compiler.resolver.resolveMethodElement(constructor);
- constructor = constructor.defaultImplementation;
- classElement = constructor.getEnclosingClass();
- }
// The constructor must be an implementation to ensure that field
// initializers are handled correctly.
constructor = constructor.implementation;
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698