Skip to content

Commit

Permalink
Constructor/method signatures differ from the corresponding signature…
Browse files Browse the repository at this point in the history
…s in vanilla javac. (#30)
  • Loading branch information
dbalek authored Oct 8, 2021
1 parent 722accd commit c7acb02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2392,6 +2392,10 @@ public boolean isNullOrReference() {
return true;
}

public ErrorType(Name name, TypeSymbol container, Type originalType) {
this(new ClassSymbol(PUBLIC|STATIC|ACYCLIC, name, null, container), originalType);
}

public ErrorType(Name name, Symbol container, Type originalType) {
this(new ClassSymbol(PUBLIC|STATIC|ACYCLIC, name, null, container), originalType);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3576,6 +3576,10 @@ public Type createErrorType(ClassSymbol c, Type originalType) {
return new ErrorType(c, originalType);
}

public Type createErrorType(Name name, TypeSymbol container, Type originalType) {
return new ErrorType(name, container, originalType);
}

public Type createErrorType(Name name, Symbol container, Type originalType) {
return new ErrorType(name, container, originalType);
}
Expand Down

0 comments on commit c7acb02

Please sign in to comment.