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

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

Issue 760863002: Fix incremental parsing when class name is changed. (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 7ee8a2c21c7a2b2fa633f0944227f5601461722b..390095bf103c785693908ac6b17d5cb122b5ccd6 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -2708,6 +2708,12 @@ class IncrementalParserTest extends EngineTestCase {
_assertParse("f() => a", "", " ", " + b;");
}
+ void test_rename_class_withConstructor() {
+ // "class C { C() {} }"
+ // "class D { C() {} }"
+ _assertParse('class ', 'C', 'D', ' { C() {} }');
+ }
+
void test_replace_field_type_with_void() {
// Note: this produces an error, but we still need the parser to produce a
// consistent parse tree for it.
« 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