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

Unified Diff: pkg/kernel/lib/binary/ast_to_binary.dart

Issue 2838983002: Fix a pair of issues in the Dart code for the front end. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/binary/ast_to_binary.dart
diff --git a/pkg/kernel/lib/binary/ast_to_binary.dart b/pkg/kernel/lib/binary/ast_to_binary.dart
index 95ad03729800295347a08087aa5058622d86ef96..f2e47e03bc13d7c89e7494d9fc9413c94323b278 100644
--- a/pkg/kernel/lib/binary/ast_to_binary.dart
+++ b/pkg/kernel/lib/binary/ast_to_binary.dart
@@ -1038,7 +1038,7 @@ class LibraryFilteringBinaryPrinter extends BinaryPrinter {
writeStringTable(_stringIndexer);
writeUriToSource(program);
writeLinkTable(program);
- writeList(program.libraries.where(predicate), writeNode);
+ writeList(program.libraries.where(predicate).toList(), writeNode);
writeMemberReference(program.mainMethod, allowNull: true);
_flush();
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698