Index: pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart |
diff --git a/pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart b/pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart |
index 324e1a71ddb477edd6fb4f70bf74d077f9445288..74d5c95c3e94748604734361d0fc6aa3df899558 100644 |
--- a/pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart |
+++ b/pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart |
@@ -22,7 +22,9 @@ final TypeName NO_RETURN_TYPE = new TypeName( |
*/ |
protocol.Element createElement( |
Source source, protocol.ElementKind kind, SimpleIdentifier id, |
- {String parameters, TypeName returnType, bool isAbstract: false, |
+ {String parameters, |
+ TypeName returnType, |
+ bool isAbstract: false, |
bool isDeprecated: false}) { |
String name; |
Location location; |
@@ -75,9 +77,14 @@ CompletionSuggestion createSuggestion(SimpleIdentifier id, bool isDeprecated, |
} |
CompletionSuggestion suggestion = new CompletionSuggestion( |
CompletionSuggestionKind.INVOCATION, |
- isDeprecated ? DART_RELEVANCE_LOW : defaultRelevance, completion, |
- completion.length, 0, isDeprecated, false, |
- returnType: nameForType(returnType), element: element); |
+ isDeprecated ? DART_RELEVANCE_LOW : defaultRelevance, |
+ completion, |
+ completion.length, |
+ 0, |
+ isDeprecated, |
+ false, |
+ returnType: nameForType(returnType), |
+ element: element); |
if (classDecl != null) { |
SimpleIdentifier classId = classDecl.name; |
if (classId != null) { |