I'm working in a project that uses Scala 2.10 and I have this code that uses an expanded or annonymous function e.g.
multiTest("Tarn to Mc", fixture1) {
case (capRaw: (Double, Int), /* .. more arguments .. */ callPut: Tuple2[Double, Double]) =>
// test body implementation
}
for both cases above I get the warning:
non-variable type argument Double in type pattern (Double, Int) is unchecked since it is eliminated by erasure
How can I get rid of this warning without having to define my own class UDTs?