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 dd0a321b9d0cfa74dd436c680742be99561944f6..f0c34cd1dab49c9515f8e8d54d17baa8b22fc2a0 100644 |
--- a/pkg/kernel/lib/binary/ast_from_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart |
@@ -1122,7 +1122,8 @@ class BinaryBuilder { |
return new FunctionType(positional, returnType); |
case Tag.TypeParameterType: |
int index = readUInt(); |
- readUInt(); // offset of the TypeParameter declaration in the binary. |
+ readUInt(); // offset of parameter list in the binary. |
+ readUInt(); // index in the list. |
var bound = readDartTypeOption(); |
return new TypeParameterType(typeParameterStack[index], bound); |
default: |