This is a troublesome violation of type safety in my project, so I\'m looking for a way to disable it. It seems that if a function takes an AnyRef (or a java.lang.Object), y
What about something like this:
object Qx2 { @deprecated def callingWithATupleProducesAWarning(a: Product) = 2 def callingWithATupleProducesAWarning(a: Any) = 3 }
Tuples have the Product trait, so any call to callingWithATupleProducesAWarning that passes a tuple will produce a deprecation warning.