Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Unified Diff: pkg/front_end/lib/src/fasta/loader.dart

Issue 3009503002: Start trying to compile platform from unpatched sources. (Closed)
Patch Set: Add LibraryBuilder.isPatch. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698