Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scoping of temporary variables in Darwin codegen.
When converting a C++ DecodableList into an Objective C NSArray, we declare some temporary variables. These were not scoped in their own scope, so if multiple lists were decoded at the same nesting level (e.g. two list-typed members of the same struct), the names would collide and produce compile errors. The fix is to just scope the entire conversion.
- Loading branch information