Daniel Rosenwasser fb717df6bf
Discard union types before considering weak type checks on unit-like types (#50423)
* Only check isUnitType when dealing with non-unions.

* Add test case.

* Accepted baselines.
2022-08-24 11:39:00 -07:00
..
2022-08-21 03:07:27 -07:00
2022-08-10 11:49:59 -07:00