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

Internal error calling a generic type's initializer with FCP #23701

Open
DanilaFe opened this issue Oct 24, 2023 · 0 comments · May be fixed by #24587
Open

Internal error calling a generic type's initializer with FCP #23701

DanilaFe opened this issue Oct 24, 2023 · 0 comments · May be fixed by #24587

Comments

@DanilaFe
Copy link
Contributor

The following code:

record r {
    var containedValue;
}

var x = new r(proc() { return 42; });

On 42f11e4 causes an internal assertion error:

genericlambda.chpl:5: internal error: assertion error [resolution/callInfo.cpp:90]
Note: This source location is a guess.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant