Commit 7037721
committed
proto: initialize ExtensionDesc.Type at registration time
When an ExtensionDesc with an uninitialized Type field is registered,
initialize the Type.
Change-Id: I2c09312e0c4873b7183d0a3c705cddc53d441f1e
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/189161
Reviewed-by: Joe Tsai <[email protected]>1 parent e7641fa commit 7037721
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
142 | 147 | | |
143 | 148 | | |
144 | 149 | | |
| |||
0 commit comments