Andrew Kelley
6fdf7ce0af
Sema: simplify coercion logic
...
Instead of a separate function, `coerceNum` for handling comptime-known
number coercion, outside of the main switch, the `coerce` function now
has a single big switch statement that decides the control flow based on
the zig type tag.
2021-12-21 22:35:24 -07:00
..
2021-12-21 23:13:30 +01:00
2021-12-21 20:34:27 -07:00
2021-12-21 18:43:19 -07:00
2021-12-19 23:22:05 -08:00
2021-11-30 23:32:47 +00:00
2021-12-21 01:47:27 +01:00
2021-12-21 01:41:50 +01:00
2021-12-10 23:09:02 +01:00
2021-12-09 22:10:38 -07:00
2021-11-26 19:59:33 -07:00
2021-11-26 19:59:33 -07:00
2021-12-19 00:24:45 -05:00
2021-11-24 22:44:33 -07:00
2021-12-21 18:21:42 -07:00
2021-10-22 12:50:25 +02:00
2021-12-19 00:24:45 -05:00
2021-11-30 23:32:47 +00:00
2020-12-07 17:27:09 -07:00
2021-12-16 03:34:20 -07:00
2021-11-30 23:32:47 +00:00
2021-11-30 23:32:47 +00:00
2021-12-03 17:33:20 -07:00
2021-12-03 17:33:20 -07:00
2021-12-03 17:33:20 -07:00
2021-12-21 12:38:50 -08:00
2021-12-21 01:47:27 +01:00
2021-12-21 18:21:42 -07:00
2021-11-30 23:32:47 +00:00
2021-12-21 01:41:50 +01:00
2021-12-09 01:39:07 -07:00
2021-11-30 23:32:47 +00:00
2021-12-21 01:47:27 +01:00
2021-11-30 23:32:47 +00:00
2021-11-30 23:32:47 +00:00
2021-12-10 23:09:02 +01:00
2021-11-30 23:32:47 +00:00
2021-11-30 23:32:47 +00:00
2021-12-21 22:35:24 -07:00
2021-12-03 16:53:33 -07:00
2021-12-16 03:01:13 -07:00
2021-12-03 17:33:20 -07:00
2021-11-30 23:32:47 +00:00
2021-12-19 00:24:45 -05:00
2021-12-19 00:24:45 -05:00
2021-12-21 01:41:51 +01:00
2021-11-30 23:32:47 +00:00
2021-12-21 01:47:27 +01:00
2021-11-09 18:31:03 -07:00
2021-11-30 23:32:47 +00:00
2021-09-24 13:39:20 -04:00
2021-09-07 21:49:08 -06:00
2020-09-21 21:14:01 -07:00
2021-09-01 17:54:07 -07:00
2021-08-15 18:06:29 -07:00
2021-08-15 18:06:29 -07:00
2021-08-15 18:06:29 -07:00
2021-10-20 17:58:30 -04:00
2021-10-20 17:58:30 -04:00
2021-09-30 21:38:04 -07:00
2021-09-30 21:38:04 -07:00
2021-09-30 21:38:04 -07:00
2021-12-19 00:24:45 -05:00