Index: pkg/analyzer/lib/src/generated/engine.dart |
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart |
index 972f3203ed6e7df73da480e11694815973d4a552..852550f47c696e4d976f17cfbed0b5c65e1584d3 100644 |
--- a/pkg/analyzer/lib/src/generated/engine.dart |
+++ b/pkg/analyzer/lib/src/generated/engine.dart |
@@ -10322,7 +10322,7 @@ class ParseHtmlTask_getLibrarySources extends ht.RecursiveXmlVisitor<Object> { |
} |
if (scriptAttribute != null) { |
try { |
- Uri uri = new Uri(path: scriptAttribute.text); |
+ Uri uri = Uri.parse(scriptAttribute.text); |
String fileName = uri.path; |
Source librarySource = |
_task.context.sourceFactory.resolveUri(_task.source, fileName); |