Brad Fitzpatrick
b8b3208fb3
util/eventbus/eventbuscheck: add whole-program T vs *T event check
...
The eventbus routes events by exact type, so a subscriber of *T never
sees a T. Add a test that type-checks the module for linux, windows and
darwin and fails if any event type is used with eventbus or
eventbustest both by value and by pointer. To keep memory use down, it
drops function bodies outside the packages that import those. It skips
in race builds because of a go/types data race, golang/go#81122.
Updates #22307
Change-Id: Ia7486c43936f367f8767ad9c8750faa9b6bdf8f0
Signed-off-by: Brad Fitzpatrick <[email protected] >
2026-11-10 18:13:02 -08:00
..
2026-11-09 08:06:32 -07:00
2026-03-24 10:52:20 -04:00
2026-10-14 15:56:12 -07:00
2026-01-23 15:49:45 -08:00
2026-05-14 15:55:05 -07:00
2026-11-09 16:09:45 -08:00
2026-06-23 11:10:59 -07:00
2026-01-23 15:49:45 -08:00
2026-09-30 21:41:37 -07:00
2026-09-30 10:44:22 -07:00
2026-09-01 13:15:45 -06:00
2026-01-23 15:49:45 -08:00
2026-08-08 13:02:06 -07:00
2026-08-19 16:25:50 -07:00
2026-09-01 13:15:45 -06:00
2026-01-23 15:49:45 -08:00
2026-09-14 07:20:27 -07:00
2026-11-10 18:13:02 -08:00
2026-07-07 06:01:08 -07:00
2026-08-08 13:02:06 -07:00
2026-01-23 15:49:45 -08:00
2026-09-01 13:15:45 -06:00
2026-09-14 18:58:41 -07:00
2026-03-06 13:32:03 -08:00
2026-08-04 10:47:04 +01:00
2026-08-13 13:04:53 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-09-16 16:01:50 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-09-18 11:46:09 -04:00
2026-01-23 15:49:45 -08:00
2026-09-01 13:15:45 -06:00
2026-03-23 12:54:38 +00:00
2026-08-08 13:02:06 -07:00
2026-10-26 08:48:36 -07:00
2026-09-17 15:23:49 -07:00
2026-07-01 10:02:05 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-09-14 21:06:33 -07:00
2026-09-01 13:15:45 -06:00
2026-10-23 17:28:23 -04:00
2026-03-06 13:32:03 -08:00
2026-03-06 13:32:03 -08:00
2026-01-23 15:49:45 -08:00
2026-10-23 11:45:38 -07:00
2026-07-30 12:28:22 -07:00
2026-01-23 15:49:45 -08:00
2026-10-16 18:02:33 -07:00
2026-10-13 15:55:43 -07:00
2026-03-06 13:32:03 -08:00
2026-08-08 13:02:06 -07:00
2026-09-21 09:23:51 -06:00