Index: sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
index fd0da9e5b021c52b6ced750e036e000a4ed785de..8a9367c6c5f51b7d55b010c8d6b93bb503cac1cb 100644 |
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
@@ -738,6 +738,8 @@ class LibraryElementX extends ScopeContainerElementX implements LibraryElement { |
bool get isPlatformLibrary => uri.scheme == "dart"; |
+ bool get isPrivateLibrary => isPlatformLibrary && uri.path.startsWith('_'); |
ahe
2013/01/18 11:03:10
This scares me. The uri.path is potentially from u
Johnni Winther
2013/01/21 09:27:54
[uri] is the canonical uri which we filter in [tra
|
+ |
String toString() { |
if (origin != null) { |
return 'patch library(${getLibraryOrScriptName()})'; |