Jonathan Grynspan
fd99febac6
Fix diagnostic for @c enum T: Int128. ( #90028 )
...
This PR fixes the incorrect diagnostic when an integer type known to
Swift but not to C/Objective-C is used with an `@c` or `@objc` enum:
```swift
@c enum T: Int128 {} // 🛑 '@c' enum raw type 'Int128' is not an integer type
```
The diagnostic now reads:
> 🛑 '@c' enum raw type 'Int128' must be an integer type expressible in C
(Substituting "Objective-C" when `@objc` is used.)
2026-07-09 19:01:00 -07:00
..
2026-06-05 13:06:05 -07:00
2026-07-07 22:50:05 -07:00
2024-10-19 12:35:20 -07:00
2024-10-19 12:35:20 -07:00
2024-10-19 12:35:20 -07:00
2025-09-09 16:44:29 -07:00
2025-08-24 19:20:33 -07:00
2025-06-06 17:30:01 -07:00
2025-02-28 09:18:38 -08:00
2025-07-14 11:07:40 -07:00
2025-12-10 10:10:51 -08:00
2026-03-25 16:52:39 -07:00
2026-02-25 09:25:31 -08:00
2025-10-03 20:42:19 +02:00
2026-07-07 22:50:05 -07:00
2026-07-07 22:50:05 -07:00
2025-10-04 14:19:52 -07:00
2025-03-04 07:30:57 -08:00
2026-02-09 11:35:45 +00:00
2025-03-24 09:31:57 -07:00
2025-03-28 02:01:27 +00:00
2026-02-25 09:25:31 -08:00
2026-01-22 11:24:26 -08:00
2026-01-22 11:24:26 -08:00
2026-01-03 15:07:10 -08:00
2026-03-25 16:52:39 -07:00
2026-05-08 09:59:11 +01:00
2026-05-08 09:59:11 +01:00
2026-05-08 09:59:11 +01:00
2025-04-22 18:23:36 +01:00
2025-02-28 09:18:38 -08:00
2025-04-22 18:23:40 +01:00
2024-02-19 02:48:36 -10:00
2023-08-11 15:42:25 -07:00
2025-03-11 17:18:43 -04:00
2026-03-25 16:52:39 -07:00
2025-02-26 10:02:55 +00:00
2025-10-04 14:19:52 -07:00
2025-10-04 14:19:52 -07:00
2024-09-06 22:38:04 -07:00
2025-03-11 17:18:43 -04:00
2026-02-25 09:25:31 -08:00
2024-11-02 11:46:46 -07:00
2024-11-02 11:46:46 -07:00
2025-09-09 16:44:29 -07:00
2024-10-19 12:35:20 -07:00
2024-01-22 12:21:04 -08:00
2024-07-30 16:56:00 +01:00
2025-04-05 12:31:20 +01:00
2025-10-04 14:19:52 -07:00
2025-05-07 16:44:27 +01:00
2026-06-05 06:42:18 -07:00
2024-03-14 23:10:44 -07:00
2026-06-01 11:28:20 -07:00
2025-03-29 15:40:35 -07:00
2025-10-04 14:19:52 -07:00
2025-03-19 11:59:04 -07:00
2026-06-22 23:27:26 -04:00
2024-06-18 22:09:16 -07:00
2026-02-25 09:25:31 -08:00
2024-07-30 16:56:00 +01:00
2025-09-22 17:45:34 -07:00
2026-02-25 09:25:31 -08:00
2025-08-24 19:20:33 -07:00
2024-01-29 21:05:49 -08:00
2024-11-02 11:46:46 -07:00
2025-09-09 13:48:40 +01:00
2025-10-24 16:23:50 -07:00
2026-02-25 09:25:31 -08:00
2026-02-25 09:25:31 -08:00
2026-02-25 09:25:31 -08:00
2026-02-25 09:25:31 -08:00
2026-07-09 19:01:00 -07:00
2023-10-11 23:32:15 +01:00
2025-10-29 15:14:23 +00:00
2025-10-29 15:14:23 +00:00
2025-10-16 13:30:26 -07:00
2024-03-12 11:58:25 +08:00
2026-03-10 09:14:56 -07:00
2024-06-21 16:03:21 -07:00
2024-05-14 07:31:59 -07:00
2024-11-02 11:46:46 -07:00
2024-09-10 10:35:05 -07:00
2025-10-04 14:19:52 -07:00
2024-12-10 12:51:19 +00:00
2024-06-19 21:39:40 +01:00
2026-06-01 11:28:20 -07:00
2026-02-26 05:28:16 -06:00
2024-02-24 08:33:28 -10:00
2025-11-16 11:47:21 +00:00
2024-04-19 16:57:04 +03:00
2023-08-13 22:34:26 -07:00
2025-09-09 13:48:40 +01:00
2024-11-02 11:46:46 -07:00
2024-11-02 11:46:46 -07:00
2025-10-26 23:47:19 +03:00
2025-06-03 00:49:06 -07:00
2026-06-17 15:24:40 -06:00
2023-07-12 11:40:29 -07:00
2024-10-20 15:37:15 -07:00
2024-07-03 21:08:54 -07:00
2024-08-24 21:31:41 -07:00
2024-08-24 21:31:41 -07:00
2026-06-22 13:31:20 -07:00
2024-11-02 11:46:46 -07:00
2025-03-28 02:01:27 +00:00