Chromium Code Reviews| Index: pkg/compiler/lib/src/compiler.dart |
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
| index 189c7d0db64b2e6016740093f1cc643d770940cb..3c9fc1c54ac4d3da937c5bf8650ac782a642dd48 100644 |
| --- a/pkg/compiler/lib/src/compiler.dart |
| +++ b/pkg/compiler/lib/src/compiler.dart |
| @@ -913,6 +913,11 @@ abstract class Compiler implements LibraryLoaderListener { |
| metadata.ensureResolved(resolution); |
| } |
| }); |
| + library.compilationUnits.forEach((CompilationUnitElement unit) { |
|
Siggi Cherem (dart-lang)
2016/08/18 15:30:58
same here - guard to only do this when serializati
Johnni Winther
2016/08/19 08:57:17
Done.
|
| + for (MetadataAnnotation metadata in unit.metadata) { |
| + metadata.ensureResolved(resolution); |
| + } |
| + }); |
| } |
| void fullyEnqueueTopLevelElement(Element element, Enqueuer world) { |