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

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_test.dart

Issue 1701413005: Fix for making variable initializer synthetic. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/summary/resynthesize.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/src/summary/resynthesize_test.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
index c1f3cbe7672f0eef18211d6e21a22dd191205793..aedda76bf809b5aa4dcc21a5d3fbe2d8160294c8 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
@@ -894,6 +894,7 @@ class ResynthTest extends ResolverTestCase {
expect(resynthesized, isNotNull, reason: desc);
expect(resynthesized.nameOffset, original.nameOffset, reason: desc);
expect(resynthesized.name, original.name, reason: desc);
+ expect(resynthesized.isSynthetic, original.isSynthetic, reason: desc);
// TODO(scheglov) replace this method with compareFunctionElements()
// once we resynthesize initializers return types.
}
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698