Wesley Wigham 66fa9f6cd7
Just map type variables to constraints at certain positions for narrowing so that we do not map primitives (#21384)
* Use a limited version of getApparentType that doesnt map primitives

* Reuse [most of]  getBaseConstraintOfType, since it does the needed behaviors

* Move new function next to the very similar function
2018-02-21 12:51:26 -08:00
..
2018-02-05 13:56:22 -08:00
2017-11-16 10:58:12 -08:00
2018-01-08 17:25:56 -08:00
2018-01-11 16:45:44 -08:00
2017-11-13 10:55:33 -08:00
2017-11-16 11:08:03 -08:00