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

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

Issue 2973633002: [kernel] Change how TypeParameterType is calculated. (Closed)
Patch Set: Rebased Created 3 years, 4 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 eb261df58cfaec4f7ecc59f65425ad390cbb87db..5933ce7e2556e0801f459fd4c156b3d4ada88148 100644
--- a/pkg/kernel/lib/binary/ast_from_binary.dart
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart
@@ -1180,8 +1180,6 @@ class BinaryBuilder {
positionalParameterNames: positionalNames);
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