| 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..c90088c79158adb4d6f8aaa2076c840d8319b42d 100644
|
| --- a/pkg/compiler/lib/src/resolved_uri_translator.dart
|
| +++ b/pkg/compiler/lib/src/resolved_uri_translator.dart
|
| @@ -115,6 +115,9 @@ class _ResolvedUriTranslator implements ResolvedUriTranslator {
|
| bool allowInternalLibraryAccess = importingLibrary != null &&
|
| (importingLibrary.isPlatformLibrary ||
|
| importingLibrary.isPatch ||
|
| + // The memory scheme is specifically for unit tests that use the
|
| + // in-memory compiler.
|
| + importingLibrary.canonicalUri.scheme == 'memory' ||
|
| importingLibrary.canonicalUri.path
|
| .contains('sdk/tests/compiler/dart2js_native'));
|
|
|
|
|