Skip to content

Commit

Permalink
Hot fix SimpleArgument#hasDefaultValue
Browse files Browse the repository at this point in the history
  • Loading branch information
Rollczi committed Sep 8, 2024
1 parent 7d2d3fd commit 679d5ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public Optional<ParseResult<T>> defaultValue() {

@Override
public boolean hasDefaultValue() {
return nullable;
return nullable || defaultValue().isPresent();
}

}

0 comments on commit 679d5ed

Please sign in to comment.