Commit 0090f19
Check ctype() in DescriptorBuilder for edition 2023 and beyond.
It seems possible that old data is stored with serialized descriptors. If we
reject old descriptors due to invalid ctype, the change effectively becomes
breaking changes. We should apply this stricter check for edition 2023 or beyond.
PiperOrigin-RevId: 6025161351 parent 624d65d commit 0090f19
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7723 | 7723 | | |
7724 | 7724 | | |
7725 | 7725 | | |
7726 | | - | |
| 7726 | + | |
| 7727 | + | |
7727 | 7728 | | |
7728 | 7729 | | |
7729 | 7730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2947 | 2947 | | |
2948 | 2948 | | |
2949 | 2949 | | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
2950 | 2953 | | |
2951 | 2954 | | |
2952 | 2955 | | |
| |||
0 commit comments