Skip to content

Commit

Permalink
formatting and small fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Seppli11 committed Nov 26, 2024
1 parent 12d0838 commit 5674898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private static PythonType currentType(Name lhsName) {
.orElse(null);
}

public static Stream<Tree> getSymbolNonDeclarationUsageTrees(SymbolV2 symbol) {
private static Stream<Tree> getSymbolNonDeclarationUsageTrees(SymbolV2 symbol) {
return symbol.usages()
.stream()
// Function and class definition names will always have FunctionType and ClassType respectively
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private boolean isNumber(PythonType type) {
private static PythonType toObjectType(PythonType type) {
if (type == PythonType.UNKNOWN) {
return type;
} else if(type instanceof ObjectType objectType) {
} else if (type instanceof ObjectType objectType) {
return new ObjectType(objectType.typeWrapper(), objectType.attributes(), objectType.members(), objectType.typeSource());
}
return new ObjectType(type);
Expand Down

0 comments on commit 5674898

Please sign in to comment.