subtyping bug for constrained varargs #27632
Labels
bug
Indicates an unexpected problem or unintended behavior
types and dispatch
Types, subtyping and method dispatch
This is bad:
This method can never be selected for this signature, and
methods
is claiming it will always be selected.This is correct:
We expect to need to reduce
I
at runtime until it matches the length of A dims (0
).This is what happens when get this wrong (reduced from a subarray test optimization):
The text was updated successfully, but these errors were encountered: