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

Unified Diff: pkg/analysis_server/lib/src/protocol.dart

Issue 542333002: Add feedback for 'Inline Local' refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/protocol.dart
diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart
index e0b19b61d50f758cad1cefb72091c418ff72e444..62841277507b232d2c4e16345b20ccf28886a1d9 100644
--- a/pkg/analysis_server/lib/src/protocol.dart
+++ b/pkg/analysis_server/lib/src/protocol.dart
@@ -418,6 +418,9 @@ RefactoringFeedback _refactoringFeedbackFromJson(JsonDecoder jsonDecoder,
if (kind == RefactoringKind.EXTRACT_METHOD) {
return new ExtractMethodFeedback.fromJson(jsonDecoder, jsonPath, json);
}
+ if (kind == RefactoringKind.INLINE_LOCAL_VARIABLE) {
+ return new InlineLocalVariableFeedback.fromJson(jsonDecoder, jsonPath, json);
+ }
if (kind == RefactoringKind.RENAME) {
return new RenameFeedback.fromJson(jsonDecoder, jsonPath, json);
}
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698