On Sep 11, 2021, at 11:42 AM, John Rose <john.r.r...@oracle.com<mailto:john.r.r...@oracle.com>> wrote:
Putting Object[] at the top forces a re-evaluation when Valhalla comes, since the code will break. P.S. I wonder if there is a compatibility move where errors which arise from changed type relations (int <: Object) are downgraded to warnings, at least for a while. That would cause a dominating `case Object[] x:` to warn not error. I think I can hear Dan saying, “ehh, not worth the trouble.”