Chromium Code Reviews| Index: pkg/analyzer/test/generated/resolver_test.dart |
| diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart |
| index 4722a658a21ad7ceae0acbfa1032c42336ec8b79..be7ece4637a796e9beb09213bf5e35a8771c1737 100644 |
| --- a/pkg/analyzer/test/generated/resolver_test.dart |
| +++ b/pkg/analyzer/test/generated/resolver_test.dart |
| @@ -407,6 +407,11 @@ class AnalysisContextFactory { |
| library.publicNamespace = new PublicNamespaceBuilder().build(library); |
| } |
| context.recordLibraryElements(elementMap); |
| + // Create the synthetic element for `loadLibrary`. |
| + coreLibrary.createLoadLibraryFunction(context.typeProvider); |
|
Paul Berry
2016/01/13 16:53:38
Nit: why not just loop over the libraries in eleme
|
| + asyncLibrary.createLoadLibraryFunction(context.typeProvider); |
| + htmlLibrary.createLoadLibraryFunction(context.typeProvider); |
| + mathLibrary.createLoadLibraryFunction(context.typeProvider); |
| return context; |
| } |
| } |