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
..
2020-03-05 20:46:28 -05:00
2020-02-28 14:51:54 -05:00
2020-03-03 15:23:27 -05:00
2020-01-30 00:27:44 -06:00
2020-02-14 19:15:09 +11:00
2019-11-08 15:57:24 -05:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2020-01-29 22:22:01 -06:00
2020-02-24 22:34:06 -05:00
2020-03-03 13:25:43 -05:00
2020-03-03 13:25:43 -05:00
2019-11-29 21:55:27 -05:00
2020-02-16 13:25:30 -05:00
2020-03-05 16:03:12 -05:00
2019-10-11 18:13:24 -04:00
2019-09-25 23:35:41 -04:00
2019-11-12 17:55:54 +02:00
2020-02-22 12:44:21 +01:00
2020-03-05 20:46:28 -05:00
2020-02-24 23:39:03 +02:00
2020-01-19 20:54:04 -05:00