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

Unified Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2914373002: Restore invariant that stack is empty in parseFunctionBody. (Closed)
Patch Set: Created 3 years, 7 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/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/front_end/lib/src/fasta/source/diet_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_fasta_test.dart
diff --git a/pkg/analyzer/test/generated/parser_fasta_test.dart b/pkg/analyzer/test/generated/parser_fasta_test.dart
index 21f39a5fa4df397ac32be934f0abc7393b1f4a12..b73cdcc7ffb0c1b5a495aae88ab0e7800ada7d89 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -783,7 +783,8 @@ class ParserProxy implements analyzer.Parser {
var member = new BuilderProxy();
var elementStore = new ElementStoreProxy();
var scope = new ScopeProxy();
- var astBuilder = new AstBuilder(null, library, member, elementStore, scope);
+ var astBuilder =
+ new AstBuilder(null, library, member, elementStore, scope, true);
astBuilder.parseGenericMethodComments = enableGenericMethodComments;
var fastaParser = new fasta.Parser(astBuilder);
astBuilder.parser = fastaParser;
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/front_end/lib/src/fasta/source/diet_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698