mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Ensure non-Double types are boxed in expression function calls.
This commit is contained in:
parent
86f06b7527
commit
4c0b535e6e
@ -75,6 +75,7 @@ public final class Functions {
|
|||||||
);
|
);
|
||||||
handle = handle.asType(handle.type().changeReturnType(Number.class));
|
handle = handle.asType(handle.type().changeReturnType(Number.class));
|
||||||
handle = filterReturnValue(handle, DOUBLE_VALUE);
|
handle = filterReturnValue(handle, DOUBLE_VALUE);
|
||||||
|
handle = handle.asType(handle.type().wrap());
|
||||||
}
|
}
|
||||||
// return vararg-ity
|
// return vararg-ity
|
||||||
if (wasVarargs) {
|
if (wasVarargs) {
|
||||||
|
Loading…
Reference in New Issue
Block a user