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

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

Issue 551963002: Add feedback for INLINE_METHOD 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 62841277507b232d2c4e16345b20ccf28886a1d9..fbb33a17f190c99febba036ef1e83eaac69ae818 100644
--- a/pkg/analysis_server/lib/src/protocol.dart
+++ b/pkg/analysis_server/lib/src/protocol.dart
@@ -421,6 +421,9 @@ RefactoringFeedback _refactoringFeedbackFromJson(JsonDecoder jsonDecoder,
if (kind == RefactoringKind.INLINE_LOCAL_VARIABLE) {
return new InlineLocalVariableFeedback.fromJson(jsonDecoder, jsonPath, json);
}
+ if (kind == RefactoringKind.INLINE_METHOD) {
+ return new InlineMethodFeedback.fromJson(jsonDecoder, jsonPath, json);
+ }
if (kind == RefactoringKind.RENAME) {
return new RenameFeedback.fromJson(jsonDecoder, jsonPath, json);
}

Powered by Google App Engine
This is Rietveld 408576698