Dynamic parameters upcasting
Summary:
Pessimise existing uses of `dynamic` in parameter types to `supportdyn<mixed>`, so that callers successfully type check under dynamic non-aware subtyping, but with a prologue `$param = $param upcast dynamic` so that the body will type check assuming type `dynamic` for the parameter.
Also remove requirement for enabling unstable features on `upcast` if `enable_sound_dynamic_type` is set.
Reviewed By: francesco-zappa-nardelli
Differential Revision:
D34471115
fbshipit-source-id:
59e1ef2094e33cc95b1c380e6aacb8366130db3c