Skip to content

Designated Initializers and Older Compilers #108

Answered by wjakob
matthewdcong asked this question in Q&A
Discussion options

You must be logged in to vote

I would accept such a change, it seems quite minor. Whenyou switch over to aggregate initializers, can you add comments indicating the field names? E.g.

static Foo value {
    .bar = ..
};

to

static Foo value {
    /* bar = */ ...
};

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@matthewdcong
Comment options

@matthewdcong
Comment options

@wjakob
Comment options

Answer selected by wjakob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants