Ensure non-Double types are boxed in expression function calls.

This commit is contained in:
Alexander Brandes 2023-05-21 09:50:10 +02:00
parent 86f06b7527
commit 4c0b535e6e
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -75,6 +75,7 @@ public final class Functions {
);
handle = handle.asType(handle.type().changeReturnType(Number.class));
handle = filterReturnValue(handle, DOUBLE_VALUE);
handle = handle.asType(handle.type().wrap());
}
// return vararg-ity
if (wasVarargs) {