Unable to invoke a varargs method with non-one number of arguments in reflect api #18784
Labels
area:documentation
area:metaprogramming:reflection
Issues related to the quotes reflection API
itype:enhancement
Compiler version
3.3.1, 3.4.0-RC1-bin-20231027-c0eae68-NIGHTLY
Minimized code
Output
Expectation
The three
apply_x
calls should all succeed, producingList()
,List(1)
andList(1, 2)
respectivelyAlternatively, the three
apply_x
call should all be compile errors, and therepeated
call should succeed, producingList(1, 2)
The text was updated successfully, but these errors were encountered: