Index: pkg/serialization/lib/serialization.dart |
diff --git a/pkg/serialization/lib/serialization.dart b/pkg/serialization/lib/serialization.dart |
index 1c5f07060085b3410e915c23052ab96b85c88082..459b4b85218a3c03e0ecc282915adb24307784dc 100644 |
--- a/pkg/serialization/lib/serialization.dart |
+++ b/pkg/serialization/lib/serialization.dart |
@@ -148,7 +148,6 @@ library serialization; |
import 'src/mirrors_helpers.dart'; |
import 'src/serialization_helpers.dart'; |
-import 'src/polyfill_identity_set.dart'; |
import 'dart:json' show JSON; |
part 'src/reader_writer.dart'; |
@@ -383,7 +382,7 @@ class Serialization { |
..addRuleFor(new PrimitiveRule()) |
..addRuleFor(new ListRuleEssential()) |
..addRuleFor(basicRule, |
- constructorFields: ['typeWrapped', |
+ constructorFields: ['type', |
'constructorName', |
'constructorFields', 'regularFields', []], |
fields: []) |