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

Unified Diff: pkg/serialization/lib/src/mirrors_helpers.dart

Issue 11801008: Fix tests for VM in checked mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing expectAsync1 Created 7 years, 11 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/oauth2/test/client_test.dart ('k') | runtime/lib/integers_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/serialization/lib/src/mirrors_helpers.dart
diff --git a/pkg/serialization/lib/src/mirrors_helpers.dart b/pkg/serialization/lib/src/mirrors_helpers.dart
index ef849257dc88a75ce0ded686bb9239756087e5d1..b1b4d9f15ad49c30ec72ee20966d2095ddff9e73 100644
--- a/pkg/serialization/lib/src/mirrors_helpers.dart
+++ b/pkg/serialization/lib/src/mirrors_helpers.dart
@@ -19,7 +19,7 @@ import 'serialization_helpers.dart';
*/
List<VariableMirror> publicFields(ClassMirror mirror) {
var mine = mirror.variables.values.where(
- (x) => !(x.isPrivate || x.isStatic));
+ (x) => !(x.isPrivate || x.isStatic)).toList();
var mySuperclass = mirror.superclass;
if (mySuperclass != mirror) {
return append(publicFields(mirror.superclass), mine);
« no previous file with comments | « pkg/oauth2/test/client_test.dart ('k') | runtime/lib/integers_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698