Andrew Kelley
1d1364c3cd
Sema: change how undefined is handled in coerce
...
Instead of doing it before the switch tower, do it afterwards, so that
special handling may be done before undefined gets casted to the
destination type.
In this case the special handling we want to do is *[N]T to []T setting
the slice length based on the array length, even when the array value is
undefined.
2022-03-17 19:59:20 -07:00
..
2022-03-16 20:20:07 +01:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-09-01 17:54:07 -07:00
2022-03-13 11:32:08 +01:00
2022-02-28 23:20:05 +01:00
2022-03-17 09:40:41 +01:00
2021-10-04 23:48:55 -07:00
2021-12-19 00:24:45 -05:00
2022-03-15 15:09:48 -07:00
2021-06-21 17:03:03 -07:00
2022-03-17 20:41:23 +01:00
2022-02-14 22:33:01 +01:00
2022-03-16 20:19:58 +01:00
2022-03-13 09:59:15 +00:00
2021-10-28 17:33:05 -07:00
2022-03-17 18:00:48 -07:00
2022-03-08 21:10:04 +01:00
2022-02-27 18:59:44 -05:00
2022-01-10 21:01:00 +01:00
2022-03-16 20:20:07 +01:00
2022-01-24 21:47:53 -07:00
2022-03-15 15:09:48 -07:00
2022-02-13 14:42:20 +02:00
2022-03-08 21:10:04 +01:00
2022-03-09 13:53:20 -07:00
2022-03-17 11:39:56 -07:00
2022-03-15 16:41:10 -07:00
2022-03-08 11:23:38 +02:00
2022-03-10 20:00:07 +02:00
2022-03-09 13:53:20 -07:00
2022-03-14 23:15:01 -07:00
2022-02-14 22:33:01 +01:00
2021-05-08 14:45:21 -07:00
2022-03-16 20:20:07 +01:00
2022-03-17 11:39:56 -07:00
2022-03-17 11:39:56 -07:00
2021-05-08 14:45:21 -07:00
2022-03-11 12:59:20 -07:00
2022-03-05 11:31:51 +01:00
2022-01-07 00:06:06 -05:00
2022-03-08 21:10:04 +01:00
2022-01-17 21:55:49 -07:00
2022-02-19 14:24:03 +01:00
2022-03-05 11:31:51 +01:00
2022-02-28 23:20:05 +01:00
2022-03-17 11:39:56 -07:00
2021-10-14 21:17:30 -07:00
2022-02-22 21:57:42 +01:00
2022-03-17 11:39:56 -07:00
2022-03-16 20:35:41 -07:00
2022-03-17 11:39:56 -07:00
2022-03-17 11:39:56 -07:00
2022-03-16 20:19:58 +01:00
2022-03-17 11:39:56 -07:00
2022-03-14 19:43:31 +00:00
2021-12-11 00:29:31 +01:00
2022-03-17 11:48:50 -07:00
2021-05-08 14:45:21 -07:00
2022-02-22 21:57:42 +01:00
2022-03-01 18:24:00 -07:00
2022-03-14 23:15:01 -07:00
2021-07-26 20:05:48 -04:00
2022-03-11 14:25:15 +02:00
2022-03-16 20:19:58 +01:00
2021-06-21 17:03:03 -07:00
2022-03-17 11:39:56 -07:00
2022-03-01 23:46:57 -07:00
2022-03-16 20:19:58 +01:00
2021-05-08 14:45:21 -07:00
2022-03-17 19:59:20 -07:00
2022-03-09 13:53:20 -07:00
2022-03-09 13:53:20 -07:00
2022-03-12 11:25:37 +02:00
2022-03-05 11:31:51 +01:00
2022-03-08 20:38:51 +02:00
2022-03-14 23:15:01 -07:00
2022-03-15 15:09:48 -07:00
2022-03-05 11:31:51 +01:00
2022-03-14 12:28:52 -07:00
2022-03-17 11:39:56 -07:00
2022-03-16 20:20:07 +01:00
2021-07-28 18:17:11 -04:00
2022-02-27 21:38:56 +01:00
2022-02-28 23:20:05 +01:00
2022-03-13 03:41:31 -04:00
2022-03-15 19:21:58 -07:00
2022-03-08 21:10:04 +01:00
2022-03-17 11:39:56 -07:00
2022-03-17 17:24:35 -07:00
2022-03-16 20:20:07 +01:00
2022-03-03 18:31:55 -07:00
2022-03-09 18:49:37 -07:00
2022-01-28 11:45:04 -07:00
2022-01-29 18:12:28 +02:00