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

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

Issue 2977263002: Resynthesize class fields and accessors from Kernel. (Closed)
Patch Set: 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/analyzer/test/src/summary/resynthesize_common.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
index ca2057236d433147205c6317f1d7da0450e82131..c7c4c895252bf5b033439c781398343b2087cb29 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -11201,7 +11201,11 @@ abstract class D {
}
test_setter_inferred_type_static_implicit_return() async {
- var library = await checkLibrary('class C { static set f(int value) {} }');
+ var library = await checkLibrary('''
+class C {
+ static set f(int value) {}
+}
+''');
if (isStrongMode) {
checkElementText(library, r'''
class C {
« no previous file with comments | « pkg/analyzer/test/src/summary/element_text.dart ('k') | pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698