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

Unified Diff: lib/compiler/implementation/compiler.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
« no previous file with comments | « no previous file | lib/compiler/implementation/enqueue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index e2553ae7a7b54d86c0eed60051f1a3a0500123aa..67785069750512b794e28fddd65bc297035d28d1 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -614,7 +614,10 @@ class Compiler implements DiagnosticListener {
}
TreeElements analyze(WorkItem work, Enqueuer world) {
- if (work.isAnalyzed()) return work.resolutionTree;
+ if (work.isAnalyzed()) {
+ enqueuer.resolution.resolvedElements[work.element] = work.resolutionTree;
ahe 2012/06/22 10:31:22 I'm not liking this. Could you add a todo for me t
Søren Gjesse 2012/06/22 11:52:35 Done.
+ return work.resolutionTree;
+ }
if (progress.elapsedInMs() > 500) {
// TODO(ahe): Add structured diagnostics to the compiler API and
// use it to separate this from the --verbose option.
« no previous file with comments | « no previous file | lib/compiler/implementation/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698