Chris Tate
064b072f94
Match class capsules in union fields of checked unions
...
A checked conversion to a union of object types tests each member's
fields with the members' matchers. For a field of type `C | undefined`
holding a class instance, the union's matcher found the instance's
capsule, which is not a capsule of the union itself, and answered no
(or matched the instance's plain-object view, which no class arm
accepts), so no member matched and the conversion threw a TypeError.
workerData read as such a union failed this way in every worker. A union
now matches capsules of other types through its arms, where the class
arm accepts the instance.
2026-10-19 22:44:28 -05:00
..
2026-10-18 15:11:32 -07:00
2026-10-19 22:44:28 -05:00
2026-10-06 01:05:40 -05:00
2026-10-16 07:33:26 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 07:55:53 -05:00
2026-10-17 12:16:58 -07:00
2026-10-13 10:26:49 -05:00
2026-10-14 21:17:46 -05:00
2026-10-12 12:25:30 -05:00
2026-10-13 12:36:06 -05:00
2026-10-15 06:12:23 -07:00
2026-10-13 12:36:06 -05:00
2026-10-18 15:11:32 -07:00
2026-10-13 12:36:06 -05:00
2026-10-15 18:47:02 -05:00
2026-10-05 17:51:24 -05:00
2026-10-05 17:51:24 -05:00
2026-10-12 12:25:30 -05:00
2026-10-18 09:23:31 -05:00
2026-10-12 12:25:30 -05:00
2026-10-17 19:11:33 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-09 20:26:57 -05:00
2026-10-11 13:08:08 -07:00
2026-10-16 06:54:44 -07:00
2026-10-13 12:36:06 -05:00
2026-10-12 12:25:30 -05:00
2026-10-05 17:51:24 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-18 15:11:32 -07:00
2026-10-12 12:25:30 -05:00
2026-10-05 17:51:24 -05:00
2026-10-14 08:34:53 -05:00
2026-10-15 21:58:33 -05:00
2026-10-18 15:11:32 -07:00
2026-10-15 07:59:19 -05:00
2026-10-18 15:19:39 -07:00
2026-10-16 06:59:43 -07:00
2026-10-08 11:00:13 -05:00
2026-10-07 11:47:54 -05:00
2026-10-13 12:36:06 -05:00
2026-10-05 17:51:24 -05:00
2026-10-05 17:51:24 -05:00
2026-10-13 12:36:06 -05:00
2026-10-17 12:08:06 -07:00
2026-10-15 05:07:10 -07:00
2026-10-16 01:10:45 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-09-29 20:54:09 -05:00
2026-10-18 15:11:32 -07:00
2026-10-17 18:44:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-14 11:43:44 -05:00
2026-10-17 11:10:43 -07:00
2026-10-05 17:51:24 -05:00
2026-10-05 17:51:24 -05:00
2026-10-16 04:45:45 -05:00
2026-10-18 15:11:32 -07:00
2026-10-17 12:28:03 -07:00
2026-10-18 15:11:32 -07:00
2026-10-18 14:43:40 -05:00
2026-10-13 12:36:06 -05:00
2026-10-05 17:51:24 -05:00
2026-10-12 23:05:43 -05:00
2026-10-18 07:31:43 -07:00
2026-10-18 07:31:43 -07:00
2026-10-12 12:25:30 -05:00
2026-10-08 11:00:13 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-18 01:30:29 -05:00
2026-10-16 10:10:02 -05:00
2026-10-13 12:36:06 -05:00
2026-10-05 17:51:24 -05:00
2026-10-14 21:09:51 -05:00
2026-10-05 17:51:24 -05:00
2026-10-07 15:39:05 -05:00
2026-10-14 09:58:18 -05:00
2026-10-12 12:25:30 -05:00
2026-10-16 20:13:00 -05:00
2026-10-16 05:12:23 -05:00
2026-10-13 20:30:01 -05:00
2026-10-17 16:00:54 -05:00
2026-10-05 17:51:24 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-15 13:39:03 -05:00
2026-10-05 17:51:24 -05:00
2026-10-11 07:05:29 -07:00
2026-10-18 13:51:44 -07:00
2026-10-13 20:26:38 -05:00
2026-10-05 17:51:24 -05:00
2026-10-05 17:51:24 -05:00
2026-10-18 15:11:32 -07:00
2026-10-13 12:36:06 -05:00
2026-10-13 21:24:38 -05:00
2026-10-16 14:02:02 -07:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-10 14:03:20 -07:00
2026-10-17 13:32:48 -07:00
2026-10-12 12:25:30 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-10-05 17:51:24 -05:00
2026-10-13 18:51:09 -05:00
2026-10-05 17:51:24 -05:00
2026-10-18 15:19:39 -07:00
2026-10-18 15:19:39 -07:00
2026-10-14 21:28:04 -05:00