Chromium Code Reviews| Index: pkg/compiler/lib/src/resolved_uri_translator.dart |
| diff --git a/pkg/compiler/lib/src/resolved_uri_translator.dart b/pkg/compiler/lib/src/resolved_uri_translator.dart |
| index 84cdf501c6cb52fb9833379fa2c8e12e4af12e84..e2bf95407d119f58e38cbdfaf6b6efe019629379 100644 |
| --- a/pkg/compiler/lib/src/resolved_uri_translator.dart |
| +++ b/pkg/compiler/lib/src/resolved_uri_translator.dart |
| @@ -115,6 +115,7 @@ class _ResolvedUriTranslator implements ResolvedUriTranslator { |
| bool allowInternalLibraryAccess = importingLibrary != null && |
| (importingLibrary.isPlatformLibrary || |
| importingLibrary.isPatch || |
| + importingLibrary.canonicalUri.scheme == 'memory' || |
|
Siggi Cherem (dart-lang)
2017/01/05 23:23:31
let's add a comment that this is for unit tests th
Emily Fortuna
2017/01/06 00:19:25
Done.
|
| importingLibrary.canonicalUri.path |
| .contains('sdk/tests/compiler/dart2js_native')); |