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

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

Issue 2952883003: Make the kernel API for promoted type parameter bounds less error-prone. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « pkg/kernel/lib/ast.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/binary/ast_to_binary.dart
diff --git a/pkg/kernel/lib/binary/ast_to_binary.dart b/pkg/kernel/lib/binary/ast_to_binary.dart
index 0b6c21f0fb49805322aea0ea46ccb0f0dbbbaf46..bd60dc25cfdffd4c6974c249a5745a194e70615c 100644
--- a/pkg/kernel/lib/binary/ast_to_binary.dart
+++ b/pkg/kernel/lib/binary/ast_to_binary.dart
@@ -1100,7 +1100,7 @@ class BinaryPrinter extends Visitor {
_typeParameterIndexer.indexList[node.parameter];
writeUInt30(typeParameters[0].binaryOffset);
writeUInt30(typeParameters.indexOf(node.parameter));
- writeOptionalNode(node.bound);
+ writeOptionalNode(node.promotedBound);
}
visitVectorType(VectorType node) {
« no previous file with comments | « pkg/kernel/lib/ast.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698