Commit 986ef8d
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 1194440 commit 986ef8d
File tree
2 files changed
+25
-8
lines changed- src/google/protobuf/compiler
2 files changed
+25
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2872 | 2872 | | |
2873 | 2873 | | |
2874 | 2874 | | |
2875 | | - | |
2876 | | - | |
2877 | | - | |
2878 | | - | |
2879 | | - | |
| 2875 | + | |
2880 | 2876 | | |
2881 | 2877 | | |
2882 | | - | |
| 2878 | + | |
2883 | 2879 | | |
2884 | 2880 | | |
2885 | 2881 | | |
2886 | 2882 | | |
2887 | 2883 | | |
2888 | | - | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
2889 | 2890 | | |
2890 | 2891 | | |
2891 | | - | |
| 2892 | + | |
2892 | 2893 | | |
2893 | 2894 | | |
2894 | 2895 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1861 | 1861 | | |
1862 | 1862 | | |
1863 | 1863 | | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
1864 | 1880 | | |
1865 | 1881 | | |
1866 | 1882 | | |
| |||
0 commit comments