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
SI-5683 Fail gracefully when transposing a ragged type arg matrix.
The code used to do this, until `transpose` starting throwing IAE
rather than AIOOBE.
Symptomatic treatment only: The reported crasher now infers ill-kinded
type args and reports an error.
// remove `extends NT[Int]`, and the last line gives an inference error
15
+
// rather than a crash.
16
+
// test/files/pos/t5683.scala:12: error: no type parameters for method k: (f: Int => M[B])Test.K[M,Int,B] exist so that it can be applied to arguments (Int => Test.W[String,Int])
17
+
// --- because ---
18
+
// argument expression's type is not compatible with formal parameter type;
0 commit comments