Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainpiot committed Oct 25, 2024
1 parent c5abe65 commit 97e09ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public PythonType convert(ConversionContext ctx, VariableDescriptor from) {
return ctx.lazyTypesContext().getOrCreateLazyType(fqn);
}
}
var typeWrapper = Optional.ofNullable(from.annotatedType())
return Optional.ofNullable(from.annotatedType())
.map(fqn -> ctx.lazyTypesContext().getOrCreateLazyTypeWrapper(fqn))
.map(t -> (PythonType) new ObjectType(t))
.orElse(PythonType.UNKNOWN);
Expand Down

0 comments on commit 97e09ed

Please sign in to comment.