Fixed KT-5433 J2K: incorrect conversion of method call with vararg
#KT-5433 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
//file
|
||||
import java.lang.reflect.Constructor;
|
||||
|
||||
class X {
|
||||
static <T> void foo(Constructor<T> constructor, Object[] args1, Object[] args2) throws Exception {
|
||||
constructor.newInstance(args1);
|
||||
constructor.newInstance(args1, args2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user