Jon Ross-Perkins
b555392cee
Add a typed node return to AddNode ( #5123 )
...
Building on #5120 , make a variant of `AddNode` that returns typed nodes,
and replace `UnsafeMake` uses with it. This switches to templating in
import parsing so that we can get type validation.
With this change, `UnsafeMake` ends up used in three places: `Tree::As`,
`Tree::TryAs`, and `Context::AddNode`. That should mean that all typed
nodes are verified.
2025-03-18 16:59:33 +00:00
..
2023-09-01 01:35:45 +00:00
2025-03-18 00:31:17 +00:00
2025-03-03 17:37:10 +00:00
2025-03-18 16:59:33 +00:00
2025-03-18 16:59:33 +00:00
2024-10-23 18:16:32 +00:00
2025-01-22 23:15:00 +00:00
2024-12-12 20:51:02 +00:00
2025-03-18 16:59:33 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2025-02-20 22:42:47 +00:00
2024-09-19 21:32:53 +00:00
2025-03-17 22:29:56 +00:00
2024-11-04 16:06:57 +00:00
2024-07-31 19:39:45 +00:00
2025-02-20 03:17:45 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2025-03-18 00:31:17 +00:00
2025-02-15 01:36:46 +00:00
2025-02-20 22:42:47 +00:00
2024-09-19 21:32:53 +00:00
2024-11-05 00:40:08 +00:00
2025-02-12 23:21:57 +00:00
2025-03-18 16:59:33 +00:00
2024-07-31 19:39:45 +00:00
2024-07-31 19:39:45 +00:00
2025-02-12 20:10:51 +00:00
2024-06-04 20:04:45 +00:00
2024-11-05 00:40:08 +00:00
2024-09-19 21:32:53 +00:00
2025-02-20 03:17:45 +00:00
2025-03-06 19:06:51 +00:00
2025-01-10 22:11:07 +00:00
2025-01-10 22:11:07 +00:00
2025-02-15 01:36:46 +00:00
2024-06-04 20:04:45 +00:00
2025-03-06 19:06:51 +00:00
2024-06-04 20:04:45 +00:00
2025-02-27 01:00:10 +00:00
2025-03-03 17:37:10 +00:00
2025-03-18 00:44:18 +00:00
2025-02-27 01:00:10 +00:00
2025-03-17 22:29:56 +00:00
2025-02-27 01:00:10 +00:00
2024-11-18 22:28:57 +00:00
2025-01-10 18:36:24 +00:00
2024-01-03 19:44:05 +00:00
2024-08-22 22:32:19 +00:00
2025-02-25 02:07:10 +00:00
2024-09-13 10:03:21 +00:00
2024-01-29 16:15:35 +00:00
2025-03-17 22:29:56 +00:00
2023-11-10 10:43:25 +00:00
2025-02-06 00:55:20 +00:00
2025-02-11 18:11:14 +00:00
2025-02-27 02:13:17 +00:00
2025-01-22 23:15:00 +00:00
2025-03-18 00:44:18 +00:00
2025-03-14 20:16:01 +00:00
2025-03-17 22:29:56 +00:00