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

Unified Diff: pkg/analysis_server/test/services/correction/fix_test.dart

Issue 2863683002: Specify types in generated closure args. (Closed)
Patch Set: Created 3 years, 7 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/analysis_server/lib/src/services/completion/dart/utilities.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/correction/fix_test.dart
diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
index 53b0d4a27b3441ad6ec587a641a4c74fe014488d..559eed9a72e5640493f024ce0af804a9f93a7485 100644
--- a/pkg/analysis_server/test/services/correction/fix_test.dart
+++ b/pkg/analysis_server/test/services/correction/fix_test.dart
@@ -580,7 +580,7 @@ main() {
library libA;
import 'package:meta/meta.dart';
-typedef int Callback(a,b,c);
+typedef int Callback(int a, String b,c);
Brian Wilkerson 2017/05/04 18:04:58 It would be good if we always added a space after
pquitslund 2017/05/04 19:53:58 And actually we do! This is the test source. The
class A {
A({@required Callback callback}) {}
@@ -600,7 +600,7 @@ main() {
import 'libA.dart';
main() {
- A a = new A(callback: (a, b, c) {});
+ A a = new A(callback: (int a, String b, c) {});
}
''',
target: '/test.dart');
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/dart/utilities.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698