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

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

Issue 2978353002: Resynthesize field formal parameters from Kernel. (Closed)
Patch Set: Use VariableDeclaration.isFieldFormal 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 38b9b1a5b3022b8e1c76632d090cae826a6fa7e0..8e6533e6b46117bf13eeccb710d6e5c73f7f1be7 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -9803,7 +9803,7 @@ const dynamic a = null;
class C {
dynamic x;
C([@
- a/*location: test.dart;a?*/ dynamic this.x = null]);
+ a/*location: test.dart;a?*/ dynamic this.x]);
}
const dynamic a = null;
''');
@@ -9812,7 +9812,7 @@ const dynamic a = null;
class C {
dynamic x;
C([@
- a/*location: test.dart;a?*/ dynamic this.x = null]);
+ a/*location: test.dart;a?*/ dynamic this.x]);
}
const dynamic a = null;
''');
@@ -9913,13 +9913,13 @@ dynamic f(@
checkElementText(library, r'''
const dynamic a = null;
dynamic f([@
- a/*location: test.dart;a?*/ () → dynamic g = null]) {}
+ a/*location: test.dart;a?*/ () → dynamic g]) {}
''');
} else {
checkElementText(library, r'''
const dynamic a = null;
dynamic f([@
- a/*location: test.dart;a?*/ () → dynamic g = null]) {}
+ a/*location: test.dart;a?*/ () → dynamic g]) {}
''');
}
}
@@ -10155,13 +10155,13 @@ dynamic f(@
checkElementText(library, r'''
const dynamic a = null;
dynamic f([@
- a/*location: test.dart;a?*/ dynamic x = null]) {}
+ a/*location: test.dart;a?*/ dynamic x]) {}
''');
} else {
checkElementText(library, r'''
const dynamic a = null;
dynamic f([@
- a/*location: test.dart;a?*/ dynamic x = null]) {}
+ a/*location: test.dart;a?*/ dynamic x]) {}
''');
}
}
« 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