typeshare-old
typeshare-old copied to clipboard
Swift generation with swift prefix outputs wrong type
enum Color {
Red,
Blue,
}
struct Palette {
colors: Vec<Color>,
}
This will generate the wrong type for colors
. We need to add a way out if the type we're going to emit matches one we've already (or will) emit and switch it with the properly renamed type.