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

Unified Diff: pkg/front_end/lib/src/fasta/source/outline_builder.dart

Issue 2750503012: Re-land "Add support for metadata on type variables to Fasta parser." (with fixes). (Closed)
Patch Set: Created 3 years, 9 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/front_end/lib/src/fasta/source/outline_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/source/outline_builder.dart b/pkg/front_end/lib/src/fasta/source/outline_builder.dart
index 15a24a74dbcfbb88fdd7f5bd612c226187aa11cd..eeca0954d3bec9f6426a56ae8a7ccc8e51a81bb4 100644
--- a/pkg/front_end/lib/src/fasta/source/outline_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/outline_builder.dart
@@ -572,6 +572,9 @@ class OutlineBuilder extends UnhandledListener {
debugEvent("endTypeVariable");
TypeBuilder bound = pop();
String name = pop();
+ // TODO(paulberry): type variable metadata should not be ignored. See
+ // dartbug.com/28981.
+ /* List<MetadataBuilder> metadata = */ pop();
push(library.addTypeVariable(name, bound, token.charOffset));
}

Powered by Google App Engine
This is Rietveld 408576698