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

Unified Diff: pkg/front_end/lib/src/fasta/dill/dill_loader.dart

Issue 2931773003: Add flutter mode to patched_sdk (Closed)
Patch Set: Created 3 years, 6 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/dill/dill_loader.dart
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_loader.dart b/pkg/front_end/lib/src/fasta/dill/dill_loader.dart
index b8537da9d2caddddad36a36cc7d434ac0bbf364a..11a3951898e5020ea2de75e7a79054065ba735d6 100644
--- a/pkg/front_end/lib/src/fasta/dill/dill_loader.dart
+++ b/pkg/front_end/lib/src/fasta/dill/dill_loader.dart
@@ -35,6 +35,8 @@ class DillLoader extends Loader<Library> {
}
Future<Null> buildOutline(DillLibraryBuilder builder) async {
+ assert(builder.library != null,
Siggi Cherem (dart-lang) 2017/06/08 22:18:53 (platched_sdk often fails here when files are not
ahe 2017/06/09 09:23:35 Please use internalError.
Siggi Cherem (dart-lang) 2017/06/14 17:55:37 Done.
+ "Builder.library for ${builder.uri} should not be null");
builder.library.classes.forEach(builder.addClass);
builder.library.procedures.forEach(builder.addMember);
builder.library.typedefs.forEach(builder.addTypedef);

Powered by Google App Engine
This is Rietveld 408576698