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

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

Issue 2986093002: Revert two Kernel changes that were causing test failures. (Closed)
Patch Set: Revert "Migrate language/async_backwards... ... language/async_star_take..." 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/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 065020df65c346d373c200f00f13d83b74cbe884..9458cde75336c55b51ce4e4c030f24de47884895 100644
--- a/pkg/front_end/lib/src/fasta/source/outline_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/outline_builder.dart
@@ -328,10 +328,8 @@ class OutlineBuilder extends UnhandledListener {
int modifiers =
Modifier.validate(pop(), isAbstract: kind == MethodBody.Abstract);
List<MetadataBuilder> metadata = pop();
- String documentationComment = _getDocumentationComment(beginToken);
checkEmpty(beginToken.charOffset);
library.addProcedure(
- documentationComment,
metadata,
modifiers,
returnType,
@@ -431,9 +429,7 @@ class OutlineBuilder extends UnhandledListener {
modifiers &= ~abstractMask;
}
List<MetadataBuilder> metadata = pop();
- String documentationComment = _getDocumentationComment(beginToken);
library.addProcedure(
- documentationComment,
metadata,
modifiers,
returnType,
@@ -726,9 +722,7 @@ class OutlineBuilder extends UnhandledListener {
TypeBuilder type = pop();
int modifiers = Modifier.validate(pop());
List<MetadataBuilder> metadata = pop();
- String documentationComment = _getDocumentationComment(beginToken);
- library.addFields(
- documentationComment, metadata, modifiers, type, fieldsInfo);
+ library.addFields(metadata, modifiers, type, fieldsInfo);
checkEmpty(beginToken.charOffset);
}
@@ -739,9 +733,7 @@ class OutlineBuilder extends UnhandledListener {
TypeBuilder type = pop();
int modifiers = Modifier.validate(pop());
List<MetadataBuilder> metadata = pop();
- String documentationComment = _getDocumentationComment(beginToken);
- library.addFields(
- documentationComment, metadata, modifiers, type, fieldsInfo);
+ library.addFields(metadata, modifiers, type, fieldsInfo);
}
@override
@@ -801,9 +793,7 @@ class OutlineBuilder extends UnhandledListener {
var name = pop();
int modifiers = Modifier.validate(pop());
List<MetadataBuilder> metadata = pop();
- String documentationComment = _getDocumentationComment(beginToken);
library.addFactoryMethod(
- documentationComment,
metadata,
modifiers,
name,
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_target.dart ('k') | pkg/front_end/lib/src/fasta/source/source_library_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698