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

Unified Diff: dart/lib/compiler/implementation/ssa/closure.dart

Issue 10836235: Check overrides. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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: dart/lib/compiler/implementation/ssa/closure.dart
diff --git a/dart/lib/compiler/implementation/ssa/closure.dart b/dart/lib/compiler/implementation/ssa/closure.dart
index a3a11d4d82876c06db24cf9d84ad49b488e1de5e..1efdecb9d81c852f3d9e04d2b825cf58d82250cf 100644
--- a/dart/lib/compiler/implementation/ssa/closure.dart
+++ b/dart/lib/compiler/implementation/ssa/closure.dart
@@ -32,6 +32,7 @@ class ClosureClassElement extends ClassElement {
compiler.closureClass.ensureResolved(compiler);
supertype = compiler.closureClass.computeType(compiler);
interfaces = const EmptyLink<Type>();
+ allSupertypes = new Link<Type>(supertype);
}
bool isClosure() => true;
}

Powered by Google App Engine
This is Rietveld 408576698