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 bc293377d98b3ca0796c33bcb8b49f47c471daad..80a31bc3c574c0c7261524d9f124cca4f493fb56 100644 |
--- a/pkg/kernel/lib/binary/ast_to_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_to_binary.dart |
@@ -482,6 +482,7 @@ class BinaryPrinter extends Visitor { |
writeByte(node.asyncMarker.index); |
writeByte(node.dartAsyncMarker.index); |
writeNodeList(node.typeParameters); |
+ writeUInt30(node.positionalParameters.length + node.namedParameters.length); |
writeUInt30(node.requiredParameterCount); |
writeVariableDeclarationList(node.positionalParameters); |
writeVariableDeclarationList(node.namedParameters); |