Index: pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart |
diff --git a/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart b/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart |
index eb03860b64f1da8900cfd5baf660e12fb6769fba..3ab9d9e1bc7b14c238c4e0e4d52708f26cb08c20 100644 |
--- a/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart |
+++ b/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart |
@@ -425,6 +425,7 @@ class ResolvedAstDeserializer { |
FunctionExpression toStringNode = builder.functionExpression( |
Modifiers.EMPTY, |
'toString', |
+ null, |
builder.argumentList([]), |
builder.returnStatement(builder.indexGet( |
builder.mapLiteral(mapEntries, isConst: true), |
@@ -437,6 +438,7 @@ class ResolvedAstDeserializer { |
FunctionExpression constructorNode = builder.functionExpression( |
builder.modifiers(isConst: true), |
element.enclosingClass.name, |
+ null, |
builder.argumentList([indexDefinition]), |
builder.emptyStatement()); |
return constructorNode; |