Index: pkg/kernel/lib/binary/ast_from_binary.dart |
diff --git a/pkg/kernel/lib/binary/ast_from_binary.dart b/pkg/kernel/lib/binary/ast_from_binary.dart |
index 4686130a3e0e48887fee2a00e026c3925a26ef77..fc20e3ce1489cbed4800645aa5838320d49e17f0 100644 |
--- a/pkg/kernel/lib/binary/ast_from_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart |
@@ -599,6 +599,7 @@ class BinaryBuilder { |
int typeParameterStackHeight = typeParameterStack.length; |
var typeParameters = readAndPushTypeParameterList(); |
var requiredParameterCount = readUInt(); |
+ readUInt(); // total parameter count. |
int variableStackHeight = variableStack.length; |
var positional = readAndPushVariableDeclarationList(); |
var named = readAndPushVariableDeclarationList(); |