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

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

Issue 2470863002: Generate more type information to make strong mode happy (Closed)
Patch Set: Created 4 years, 1 month 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_dart_protocol.dart
diff --git a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
index 02855a69bd26ce9a7be7ba2b2536bbfb7ecdd065..bdde0bc881e4346ddac288ba61d4b8ebf3678b8a 100644
--- a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
+++ b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart
@@ -260,7 +260,7 @@ class CodegenProtocolVisitor extends DartCodegenVisitor with CodeGenerator {
}));
String valueString = literalString(value.value);
writeln(
- 'static const ${value.value} = const $className._($valueString);');
+ 'static const $className ${value.value} = const $className._($valueString);');
writeln();
}
« no previous file with comments | « pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart ('k') | pkg/analysis_server/tool/spec/generate_files » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698