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

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

Issue 2987883003: Resynthesize top-level accessors and variables 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 5a43414459745e15eb45f8eadb5b96460d893cc5..81733217dbf771b17b9168b2c1e49f8294536099 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -2040,7 +2040,7 @@ abstract class C {
var library = await checkLibrary('class C { external int get x; }');
checkElementText(library, r'''
class C {
- external int get x {}
+ external int get x;
}
''');
}
@@ -2253,7 +2253,7 @@ abstract class C {
await checkLibrary('class C { external void set x(int value); }');
checkElementText(library, r'''
class C {
- external void set x(int value) {}
+ external void set x(int value);
}
''');
}
@@ -6252,7 +6252,7 @@ dynamic get x {}
test_getter_external() async {
var library = await checkLibrary('external int get x;');
checkElementText(library, r'''
-external int get x {}
+external int get x;
''');
}
@@ -8721,7 +8721,7 @@ void set x(dynamic value) {}
test_setter_external() async {
var library = await checkLibrary('external void set x(int value);');
checkElementText(library, r'''
-external void set x(int value) {}
+external void set x(int value);
''');
}

Powered by Google App Engine
This is Rietveld 408576698