Index: pkg/analysis_server/lib/src/edit/edit_domain.dart |
diff --git a/pkg/analysis_server/lib/src/edit/edit_domain.dart b/pkg/analysis_server/lib/src/edit/edit_domain.dart |
index cb7b513abefa6dfc578eca1a44742e1d09d82e5c..f6c298d0329904ceb0a4b8f74fcfb690173f00b3 100644 |
--- a/pkg/analysis_server/lib/src/edit/edit_domain.dart |
+++ b/pkg/analysis_server/lib/src/edit/edit_domain.dart |
@@ -557,7 +557,8 @@ class _RefactoringManager { |
List<CompilationUnit> units = server.getResolvedCompilationUnits(file); |
if (units.isNotEmpty) { |
refactoring = new ExtractLocalRefactoring(units[0], offset, length); |
- feedback = new ExtractLocalVariableFeedback([], [], []); |
+ feedback = new ExtractLocalVariableFeedback( |
+ <int>[], <int>[], <String>[], <int>[], <int>[]); |
} |
} |
if (kind == RefactoringKind.EXTRACT_METHOD) { |
@@ -565,8 +566,8 @@ class _RefactoringManager { |
if (units.isNotEmpty) { |
refactoring = new ExtractMethodRefactoring( |
searchEngine, units[0], offset, length); |
- feedback = new ExtractMethodFeedback( |
- offset, length, '', [], false, [], [], []); |
+ feedback = new ExtractMethodFeedback(offset, length, '', <String>[], |
+ false, <RefactoringMethodParameter>[], <int>[], <int>[]); |
} |
} |
if (kind == RefactoringKind.INLINE_LOCAL_VARIABLE) { |