Commit 35be953
Merge #840
840: Fix unresolved enum name in bindings generator r=Bromeon a=Bromeon
Example: when using godot-rust with the VoxelTools engine module, the api.json has many nested `Result` types. In some occurrences, these identifiers are prefixed with the containing class, e.g. `VoxelStreamResult`. However, some references to these type names are not using the prefixed identifier, thus creating compile errors (see commit message for details).
This PR addresses this by prefixing other occurrences, when enums are constructed.
Co-authored-by: Jan Haller <[email protected]>2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
| 404 | + | |
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments