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
commit b8a76f688c6ce2a4c305da064303bb46b53be875
Author: Rex Kerr <ichoran@gmail.com>
Date: Tue Dec 31 08:51:49 2013 -0800
SI-8081 unzip/unzip3 return wrong static type when applied to Arrays
Added unzip and unzip3 methods to ArrayOps so that we get proper return
values. (No tests due to unfavorable effort/reward ratio for an ongoing
test of something so simple.)
@gkossakowski said:
The quoted commit made Array.unzip require a ClassTag. The ClassTag is required so unzip can have precise return type as requested in #8081. The error message is misleading due to failure of type inference caused by suboptimal signature of ArrayOps.unzip method.
Strictly speaking, the change made in b8a76f688c6ce2a4c305da064303bb46b53be875 broke source compatibility but I think that's ok in this case. What needs fixing is signature of ArrayOps.unzip method so proper error message is printed.
The text was updated successfully, but these errors were encountered: