Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1173)

Unified Diff: pkg/kernel/lib/binary/ast_from_binary.dart

Issue 2973633002: [kernel] Change how TypeParameterType is calculated. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9923be85526de19f2739f22c1a0673e5ed05b2bc..7160d2c617df8cb57a8105a922b7a2b56318704d 100644
--- a/pkg/kernel/lib/binary/ast_from_binary.dart
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart
@@ -1136,8 +1136,6 @@ class BinaryBuilder {
return new FunctionType(positional, returnType);
case Tag.TypeParameterType:
int index = readUInt();
- readUInt(); // offset of parameter list in the binary.
- readUInt(); // index in the list.
var bound = readDartTypeOption();
return new TypeParameterType(typeParameterStack[index], bound);
default:

Powered by Google App Engine
This is Rietveld 408576698