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

Unified Diff: pkg/analysis_server/tool/spec/codegen_java_types.dart

Issue 541823004: Decode RefactoringFeedback automatically. (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/tool/spec/codegen_java_types.dart
diff --git a/pkg/analysis_server/tool/spec/codegen_java_types.dart b/pkg/analysis_server/tool/spec/codegen_java_types.dart
index 906adda8ffcc67559b53681fbd73edbb9809b353..423545eff01eb828d867210eb303bdf66440a3aa 100644
--- a/pkg/analysis_server/tool/spec/codegen_java_types.dart
+++ b/pkg/analysis_server/tool/spec/codegen_java_types.dart
@@ -616,7 +616,9 @@ final GeneratedDirectory targetDir = new GeneratedDirectory(pathToGenTypes, () {
TypeDecl type = impliedType.type;
String typeNameInSpec = capitalize(impliedType.camelName);
bool isRefactoringOption = impliedType.kind == 'refactoringOptions';
- if (impliedType.kind == 'typeDefinition' || isRefactoringOption) {
+ if (impliedType.kind == 'typeDefinition' ||
+ impliedType.kind == 'refactoringFeedback' ||
+ isRefactoringOption) {
TypeDecl type = impliedType.type;
if (type is TypeObject || type is TypeEnum) {
// This is for situations such as 'Override' where the name in the spec
« no previous file with comments | « pkg/analysis_server/tool/spec/codegen_dart_protocol.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698