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

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

Issue 738133002: Incremental parser fix: handle insertion of method parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/generated/parser.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index 5cf4b622b9c196b4a7832cd8641a75be1d1f5743..b59674b45b0a4376ab7082493a4db3cf9158e480 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -2602,6 +2602,10 @@ class IncrementalParserTest extends EngineTestCase {
_assertParse('class C { ', '', 'final ', 'int x; }');
}
+ void test_insert_function_parameter() {
+ _assertParse('class C { void f(', '', 'arg', ') {} }');
+ }
+
void test_insert_insideClassBody() {
// "class C {C(); }"
// "class C { C(); }"
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698