Index: pkg/front_end/lib/src/fasta/loader.dart |
diff --git a/pkg/front_end/lib/src/fasta/loader.dart b/pkg/front_end/lib/src/fasta/loader.dart |
index 5a1953bcf67becb0e7f69772f455d1b2f958b8f1..c4c2b22bdcbfb75ba53021b5dfe4f9c7651a5e0d 100644 |
--- a/pkg/front_end/lib/src/fasta/loader.dart |
+++ b/pkg/front_end/lib/src/fasta/loader.dart |
@@ -102,6 +102,7 @@ abstract class Loader<L> { |
return library; |
}); |
if (accessor != null && |
+ !accessor.isPatch && |
!target.backendTarget |
.allowPlatformPrivateLibraryAccess(accessor.uri, uri)) { |
accessor.addCompileTimeError( |