Skip to content

Code generated for repeated string fails to compile #4

@EliSchleifer

Description

@EliSchleifer

The following .proto definition generates code that will not compile

package Foo;

message Bar {
repeated string names = 1;
}

Looks like the code is generated the same style of Array code as would work for an int[] but since NSString is not a value type this does not work correctly.

I could dig in a bit but I suspect the original authors have greater and faster context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions