Skip to content

Incorrect member resolution for classes with multiple non-empty bases #197

@werat

Description

@werat
struct Base1 {
  int x;
  int y;
};

struct Base2 : Base1 {
};

struct Base3 {
  int z;
};

struct Foo : Base2, Base3 {
};

Foo foo;

Evaluating foo.z produces wrong result, likely because there's a bug somewhere in ParserContext::GetMemberInfo().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions