Index: pkg/analysis_server/lib/src/analysis_server.dart |
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart |
index a00ab31e97f8abab14b052a419e2e1347109f926..c52f5a94293cbb288db90367f125c7b8566aa965 100644 |
--- a/pkg/analysis_server/lib/src/analysis_server.dart |
+++ b/pkg/analysis_server/lib/src/analysis_server.dart |
@@ -1639,8 +1639,8 @@ class ServerContextManagerCallbacks extends ContextManagerCallbacks { |
} |
// If no embedded URI resolver was provided, defer to a locator-backed one. |
- embedderUriResolver ??= |
- new EmbedderUriResolver(context.embedderYamlLocator.embedderYamls); |
+ embedderUriResolver ??= new EmbedderUriResolver( |
+ new EmbedderSdk(context.embedderYamlLocator.embedderYamls)); |
if (embedderUriResolver.length == 0) { |
// The embedder uri resolver has no mappings. Use the default Dart SDK |
// uri resolver. |