Index: runtime/bin/vmservice/loader.dart |
diff --git a/runtime/bin/vmservice/loader.dart b/runtime/bin/vmservice/loader.dart |
index 38b62b171a8c1dd40090bc174040ec5dad4c045a..6bc8c456093f2ef58fc92ecc7d38b105c5c86d36 100644 |
--- a/runtime/bin/vmservice/loader.dart |
+++ b/runtime/bin/vmservice/loader.dart |
@@ -132,7 +132,9 @@ _parsePackagesFile(SendPort sp, |
bool traceLoading, |
Uri packagesFile, |
List<int> data) { |
- var result = []; |
+ // The first entry contains the location of the identified .packages file |
+ // instead of a mapping. |
+ var result = [packagesFile.toString(), null]; |
var index = 0; |
var len = data.length; |
while (index < len) { |