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

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

Issue 3002293003: Convert GeneratedContent to async and use AnalysisDriver for tasks graph. (Closed)
Patch Set: Created 3 years, 4 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.dart
diff --git a/pkg/analysis_server/tool/spec/codegen_java.dart b/pkg/analysis_server/tool/spec/codegen_java.dart
index f5edfbf13ad76bf8454d432d35a9bc80fda1539b..805d06a789560ce3f2d442919f50fb7aa08f4c3d 100644
--- a/pkg/analysis_server/tool/spec/codegen_java.dart
+++ b/pkg/analysis_server/tool/spec/codegen_java.dart
@@ -19,7 +19,7 @@ import 'to_html.dart';
*/
GeneratedFile javaGeneratedFile(
String path, CodegenJavaVisitor createVisitor(Api api)) {
- return new GeneratedFile(path, (String pkgPath) {
+ return new GeneratedFile(path, (String pkgPath) async {
CodegenJavaVisitor visitor = createVisitor(readApi(pkgPath));
return visitor.collectCode(visitor.visitApi);
});
« no previous file with comments | « pkg/analysis_server/tool/spec/codegen_inttest_methods.dart ('k') | pkg/analysis_server/tool/spec/codegen_java_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698