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

Unified Diff: dart/lib/compiler/implementation/resolver.dart

Issue 10539107: Disable assertion that no longer holds. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/resolver.dart
diff --git a/dart/lib/compiler/implementation/resolver.dart b/dart/lib/compiler/implementation/resolver.dart
index b092644a91e16bdf032581a09248db4c94dff33c..8be9f01a927b4f85c8e7f78c38fd1386e9aada03 100644
--- a/dart/lib/compiler/implementation/resolver.dart
+++ b/dart/lib/compiler/implementation/resolver.dart
@@ -156,7 +156,7 @@ class ResolverTask extends CompilerTask {
void resolveConstructorImplementation(FunctionElement constructor,
FunctionExpression node) {
- assert(constructor.defaultImplementation === constructor);
+ if (constructor.defaultImplementation !== constructor) return;
ClassElement intrface = constructor.enclosingElement;
if (!intrface.isInterface()) return;
Type defaultType = intrface.defaultClass;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698