Skip to content

Stack overflow with alias this #220

@rainers

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;
}

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