Fix mojom backcompat checks on some field types
We weren't properly checking for backward-compatibility (but were rather checking for strict equality) of types nested within generics. So if a stable structure S has a field of type `array<T>` and T is changing in a backward-compatible way, S would trigger a presubmit failure. This change corrects the logic here to properly nest such backward-compatibility checks. Fixed: 1130671 Change-Id: If739bac2440927fbaf24f7feae5bbd04f9b29c09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422189Reviewed-by:Oksana Zhuravlova <oksamyt@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#809541}
Showing
Please register or sign in to comment