Andrew Kelley fa46bcb368
stage1: make get_optional_type more robust
Now it will emit a compile error rather than crashing when the child
type has not been resolved properly.

Introduces `get_optional_type2` which should be used generally inside
ir.cpp.

Fix some std lib compile errors noticed by the provided test case.

Thanks @LemonBoy for the test case. Closes #4377.

Fixes #4374.
2020-03-06 18:30:30 -05:00
..
2019-04-04 22:07:15 -04:00
2019-04-04 22:07:15 -04:00
2020-02-10 21:08:08 -05:00
2018-09-05 23:23:11 -04:00
2019-09-22 15:58:57 -04:00
2020-02-10 21:08:08 -05:00
2020-02-16 19:16:08 -05:00
2020-02-28 14:51:53 -05:00
2020-02-28 14:51:53 -05:00
2020-02-10 21:08:08 -05:00
2020-02-16 19:16:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2019-10-17 11:55:43 -04:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-03-01 03:27:09 -05:00
2020-02-17 15:23:59 -05:00
2019-03-23 13:46:50 -04:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-16 19:16:08 -05:00
2020-02-10 21:08:08 -05:00
2018-10-27 11:35:01 -04:00
2020-02-16 13:25:30 -05:00
2019-09-22 11:21:22 -04:00
2020-02-16 19:16:08 -05:00
2020-02-21 11:47:34 -05:00
2020-02-21 11:47:34 -05:00