Skip to content

Commit

Permalink
Fixed DefaultFunctionEncoder calculating offset for nested StaticArray (
Browse files Browse the repository at this point in the history
#2054)

Signed-off-by: penuel.li <[email protected]>
  • Loading branch information
penuel-leo authored May 23, 2024
1 parent 760e50b commit 9301515
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private static int getLength(final List<Type> parameters) {
((StaticArray) type).getComponentType())) {
count++;
} else if (type instanceof StaticArray) {
count += ((StaticArray) type).getValue().size();
count += getLength(((StaticArray) type).getValue());
} else {
count++;
}
Expand Down

0 comments on commit 9301515

Please sign in to comment.