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

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

Issue 10642017: Make sure that constructor bodies are added to the resolver (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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
Index: lib/compiler/implementation/enqueue.dart
diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart
index 5fa39ca52f0db5e9f228fa14782305eb535f8635..7bb1ce4e777d23a647112c7c84d152b76558348d 100644
--- a/lib/compiler/implementation/enqueue.dart
+++ b/lib/compiler/implementation/enqueue.dart
@@ -28,11 +28,8 @@ class RecompilationQueue {
void add(Element element, TreeElements elements) {
if (queueElements.contains(element)) return;
- // TODO(sgjesse): Make this handle constructor bodies as well.
- if (element.kind !== ElementKind.GENERATIVE_CONSTRUCTOR_BODY) {
- queueElements.add(element);
- queue.add(new WorkItem(element, elements));
- }
+ queueElements.add(element);
+ queue.add(new WorkItem(element, elements));
}
int get length() => queue.length;
« lib/compiler/implementation/compiler.dart ('K') | « lib/compiler/implementation/compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698