You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for finding and reporting this! I have written a unit test, seen it fail, and fixed the issue. I'm currently looking for other possible instances of this same bug and hope to have a build in a few hours.
I use arrays in Paguro so we don't have to use them anywhere else. What are you doing that you need an array? Why would you pass a shorter array to this method? You don't need to answer, I just like to understand when people use Paguro in ways I never thought to.
String[] array = vec("A", "B", "C").toArray(new String[0]); -> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
String[] array = vec("A", "B", "C").toArray(new String[3]); -> This works.
UnmodCollection.toArray(T[] as):
to
The text was updated successfully, but these errors were encountered: