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

Unified Diff: pkg/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart

Issue 1842063003: Start making server strong mode clean (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove unintended change Created 4 years, 9 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/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart
diff --git a/pkg/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart b/pkg/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart
index 253a4ad06fb3ffdd44abdc750cf9b850c7461f9c..ea6b4896ca7289b8c56e8bd3f2c9482b294b1eaa 100644
--- a/pkg/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart
+++ b/pkg/analysis_server/lib/src/provisional/completion/dart/completion_plugin.dart
@@ -55,8 +55,8 @@ class DartCompletionPlugin implements Plugin {
* Return a list containing all of the Dart specific completion contributors.
*/
Iterable<DartCompletionContributor> get contributors =>
- _contributorExtensionPoint.extensions
- .map((DartCompletionContributorFactory factory) => factory());
+ _contributorExtensionPoint.extensions.map(
+ (Object factory) => (factory as DartCompletionContributorFactory)());
@override
String get uniqueIdentifier => UNIQUE_IDENTIFIER;

Powered by Google App Engine
This is Rietveld 408576698