Index: sdk/lib/_internal/dartdoc/lib/universe_serializer.dart |
diff --git a/sdk/lib/_internal/dartdoc/lib/universe_serializer.dart b/sdk/lib/_internal/dartdoc/lib/universe_serializer.dart |
index 24633fdb5f287de40958e7fad3836f0ece30e594..b88c9ead7749a9031930839b8a194d3514561c5e 100755 |
--- a/sdk/lib/_internal/dartdoc/lib/universe_serializer.dart |
+++ b/sdk/lib/_internal/dartdoc/lib/universe_serializer.dart |
@@ -213,7 +213,7 @@ class LibraryElement extends Element { |
} |
var libDir = parts.lastIndexOf('lib'); |
- var rest = parts.getRange(libDir + 1, parts.length - libDir - 1); |
+ var rest = parts.sublist(libDir + 1); |
// If there's no lib, we can't find the package. |
if (libDir < 0 || libDir < packageDir) { |