We hit an edge case in which a sub-type in a message is the same name as the message itself. The Swift compiler trips thinking the sub-field is the one to provide as the default value which does not seem to work.
This makes sure we avoid this collision.
A test is added that failed to compile before this change.
We hit an edge case in which a sub-type in a message is the same name as the message itself. The Swift compiler trips thinking the sub-field is the one to provide as the default value which does not seem to work.
This makes sure we avoid this collision.
A test is added that failed to compile before this change.