Skip to content

Commit

Permalink
Fixes for Android not having all the 11 APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed Jan 19, 2024
1 parent b3205a3 commit 142fe6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3179,7 +3179,7 @@ void pushIdentifier(String identifier, Trackable trackable, IdentifierScope scop
var globalMatch = findMatchingIdentifierContext(globalIdentifiers, identifier);

if (globalMatch.isPresent() || localMatch.isPresent()) {
var matchedContext = globalMatch.or(() -> localMatch).orElseThrow();
var matchedContext = globalMatch.isPresent() ? globalMatch.get() : localMatch.get();

boolean matchedOnFunctionOverloads =
matchedContext.getTrackableSubclass().equals(FunctionDef.class) && trackable instanceof FunctionDef;
Expand Down

0 comments on commit 142fe6c

Please sign in to comment.