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

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

Issue 1842063003: Start making server strong mode clean (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove unintended change Created 4 years, 9 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 3b7a4d2769c3c25837501b2b0ffc493660647657..9c4dd83a2aad1d77ee90dd772cee91913fe486ec 100644
--- a/pkg/analysis_server/tool/spec/codegen_java.dart
+++ b/pkg/analysis_server/tool/spec/codegen_java.dart
@@ -68,8 +68,8 @@ class CodegenJavaVisitor extends HierarchicalApiVisitor with CodeGenerator {
final ToHtmlVisitor toHtmlVisitor;
CodegenJavaVisitor(Api api)
- : super(api),
- toHtmlVisitor = new ToHtmlVisitor(api);
+ : toHtmlVisitor = new ToHtmlVisitor(api),
+ super(api);
/**
* Create a constructor, using [callback] to create its contents.
@@ -262,7 +262,7 @@ class CodegenJavaVisitor extends HierarchicalApiVisitor with CodeGenerator {
}
@override
- TypeReference resolveTypeReferenceChain(TypeReference type) {
+ TypeDecl resolveTypeReferenceChain(TypeDecl type) {
TypeDecl typeDecl = super.resolveTypeReferenceChain(type);
if (typeDecl is TypeEnum) {
return new TypeReference('String', null);

Powered by Google App Engine
This is Rietveld 408576698