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

Unified Diff: pkg/analyzer/test/src/task/strong/front_end_inference_test.dart

Issue 2848033002: Don't include parameter names in types, don't use Unicode arrow. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | pkg/front_end/testcases/inference/async_closure_return_type_flatten.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
diff --git a/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart b/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
index 9e8301744a20eda82ef50556cf92de5436916fc2..248e6d63b26ae067aed883839f18d7987f26d75b 100644
--- a/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
+++ b/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
@@ -163,8 +163,6 @@ class _InstrumentationValueForType extends fasta.InstrumentationValue {
_appendList<ParameterElement>(buffer, '(', ')', parameters, ', ',
(parameter) {
_appendType(buffer, parameter.type);
- buffer.write(' ');
- buffer.write(parameter.name);
}, includeEmpty: true);
}
@@ -174,7 +172,7 @@ class _InstrumentationValueForType extends fasta.InstrumentationValue {
_appendElementName(buffer, element);
_appendTypeArguments(buffer, type.typeArguments);
_appendParameters(buffer, type.parameters);
- buffer.write(' → ');
+ buffer.write(' -> ');
_appendType(buffer, type.returnType);
} else if (type is InterfaceType) {
ClassElement element = type.element;
« no previous file with comments | « no previous file | pkg/front_end/testcases/inference/async_closure_return_type_flatten.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698