Skip to content

Commit

Permalink
Fix for ReloadableJava17TypeMapping related to Type.ForAll
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Nov 5, 2024
1 parent 3e068e6 commit 77b3abb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ private JavaType.Class.Kind getKind(Symbol.ClassSymbol sym) {
}

private @Nullable JavaType type(Type type, Symbol symbol) {
if (type instanceof Type.MethodType) {
if (type instanceof Type.MethodType || type instanceof Type.ForAll) {
return methodInvocationType(type, symbol);
}
return type(type);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ private JavaType.FullyQualified.Kind getKind(Symbol.ClassSymbol sym) {
if (type == null && symbol != null) {
type = symbol.type;
}
if (type instanceof Type.MethodType) {
if (type instanceof Type.MethodType || type instanceof Type.ForAll) {
return methodInvocationType(type, symbol);
}
return type(type);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private JavaType.FullyQualified.Kind getKind(Symbol.ClassSymbol sym) {
}

private @Nullable JavaType type(Type type, Symbol symbol) {
if (type instanceof Type.MethodType) {
if (type instanceof Type.MethodType || type instanceof Type.ForAll) {
return methodInvocationType(type, symbol);
}
return type(type);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ private JavaType.Class.Kind getKind(Symbol.ClassSymbol sym) {
}

private @Nullable JavaType type(Type type, Symbol symbol) {
if (type instanceof Type.MethodType) {
if (type instanceof Type.MethodType || type instanceof Type.ForAll) {
return methodInvocationType(type, symbol);
}
return type(type);
Expand Down

0 comments on commit 77b3abb

Please sign in to comment.