Relates :
|
|
Relates :
|
A varargs method is applicable only if the element type is accessible at the call site. If the element type is an inference variable (alpha[]), inference is left to figure out which choice for alpha will be accessible. So, in order to support inference, the access check should happen after inference is done.
|