Skip to content

IntelliSense process crashes when hovering over a designated initializer of an anonymous struct. #2370

@sean-mcmanus

Description

@sean-mcmanus

Use msvc-x64 mode with a C file, because designated initializers aren't supported in clang/gcc modes until 0.17.8.

Hover over .x in the following example (from #2363 ):

struct foo {
    int x;
};

struct bar {
    struct foo;
    int y;
};

int main() {
    struct bar bar = {.x=12, .y=13};
    return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions