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 95a4ea30dd7b89a45b56708dc88c752b801fe21b..b730ddebe8f39e0d6edf81f0d4abd0e3a792aea7 100644 |
--- a/pkg/kernel/lib/binary/ast_from_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart |
@@ -617,6 +617,7 @@ class BinaryBuilder { |
AsyncMarker dartAsyncMarker = AsyncMarker.values[readByte()]; |
int typeParameterStackHeight = typeParameterStack.length; |
var typeParameters = readAndPushTypeParameterList(); |
+ readUInt(); // total parameter count. |
var requiredParameterCount = readUInt(); |
int variableStackHeight = variableStack.length; |
var positional = readAndPushVariableDeclarationList(); |