Commit 9a37881
committed
Always report plugin support errors from protoc.
If a plugin doesn't support a feature used by a proto file, we can't trust any errors reported by that plugin. We should always report these types of errors first. There could be cases where the plugin doesn't correctly specify its support when it hits an error though, so we should *also* report any plugin errors to avoid masking them.
PiperOrigin-RevId: 6399848031 parent f61d89c commit 9a37881
2 files changed
Lines changed: 25 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2854 | 2854 | | |
2855 | 2855 | | |
2856 | 2856 | | |
2857 | | - | |
2858 | | - | |
2859 | | - | |
2860 | | - | |
2861 | | - | |
| 2857 | + | |
2862 | 2858 | | |
2863 | 2859 | | |
2864 | | - | |
| 2860 | + | |
2865 | 2861 | | |
2866 | 2862 | | |
2867 | 2863 | | |
2868 | 2864 | | |
2869 | 2865 | | |
2870 | | - | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
2871 | 2872 | | |
2872 | 2873 | | |
2873 | | - | |
| 2874 | + | |
2874 | 2875 | | |
2875 | 2876 | | |
2876 | 2877 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1854 | 1854 | | |
1855 | 1855 | | |
1856 | 1856 | | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
1857 | 1873 | | |
1858 | 1874 | | |
1859 | 1875 | | |
| |||
0 commit comments