Chromium Code Reviews| 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. |