Skip to content

Stack overflow with alias this #220

Description

@rainers

This code causes a stack overflow in the TypeReferenceFinder:

module bmp;

struct BMPInfoV3
{
    int width;
    int height;
}

struct BMPInfoV4
{
    BMPInfoV3 base;
    alias base this;
}

struct BMPInfoV5
{
    BMPInfoV4   base;
    alias base this;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions