Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.16.0-alpha4: Infinite recursion inside initializer #1101

Closed
redstar opened this issue Sep 20, 2015 · 3 comments
Closed

0.16.0-alpha4: Infinite recursion inside initializer #1101

redstar opened this issue Sep 20, 2015 · 3 comments

Comments

@redstar
Copy link
Member

redstar commented Sep 20, 2015

The following code

struct Foo {

    Foo[] bar = [];

    this(const int x) { }
} 

leads to an infinite recursion, resulting in a segmentation fault. DtoConstArrayInitializer() is called again and again.

@dnadlinger
Copy link
Member

Are you working on this?

@redstar
Copy link
Member Author

redstar commented Sep 20, 2015

I currently try to produce a reduced test case for #1022.

@dnadlinger
Copy link
Member

I'll have a brief look at it later then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants