Variadic function with two different classes that both implement same interface #4638
Answered
by
ondrejmirtes
martinssipenko
asked this question in
Support
-
I'm trying to call a variadic function with two different arguments (class strings) that both implement one interface, however, I get this error. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
ondrejmirtes
Mar 2, 2021
Replies: 1 comment 1 reply
-
Generics for variadic functions are not yet supported, here's a feature request: #2572 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
martinssipenko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generics for variadic functions are not yet supported, here's a feature request: #2572