Hamish Knight
7e592439d9
[Sema] Avoid setting bogus SourceLocs for synthesized braces
...
Setting a SourceLoc for a brace of a nominal type is used to indicate
that we should attempt to parse members for it. Avoid doing this in
synthesized cases since we supply the members directly. Instead,
make the SourceRange computation resilient to missing brace locations.
This avoids a crash when attempting to do cached code completion in
cases where there are nested local types that synthesize nominals
such as CodingKeys.
2026-06-25 14:48:50 +01:00
..
2024-09-16 14:48:18 -07:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2026-06-25 14:48:50 +01:00
2026-02-06 02:04:34 -05:00
2026-01-29 15:23:13 -05:00
2026-02-06 02:04:34 -05:00
2026-02-06 02:04:34 -05:00
2026-01-29 15:23:13 -05:00
2026-01-29 15:23:13 -05:00
2026-02-06 02:04:34 -05:00
2026-01-14 13:25:55 -05:00
2026-01-12 14:04:42 -05:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-05-08 11:01:21 -07:00
2025-09-04 10:06:21 +01:00
2024-07-08 20:37:04 +02:00
2024-02-29 20:45:55 -08:00
2025-09-04 10:06:21 +01:00
2024-05-06 15:25:00 -07:00
2024-11-04 17:08:20 +00:00
2024-06-17 22:20:57 +01:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2024-02-29 20:45:55 -08:00
2025-08-29 13:39:58 +03:00
2025-09-04 10:06:21 +01:00
2024-07-06 13:28:59 +02:00
2024-07-08 20:33:02 +02:00
2024-07-08 20:33:23 +02:00
2024-02-29 20:45:55 -08:00
2026-03-17 11:33:58 -07:00
2024-10-10 17:24:17 -07:00
2025-04-23 12:58:28 +01:00
2024-02-29 20:45:55 -08:00
2025-08-25 11:13:40 +01:00