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

Issue 13404 - heap-allocating a struct passes TypeInfo_Pointer to the GC, not TypeInfo_struct #3935

Merged
merged 1 commit into from
Aug 31, 2014

Conversation

rainers
Copy link
Member

@rainers rainers commented Aug 31, 2014

https://issues.dlang.org/show_bug.cgi?id=13404

When allocating a struct with "new", do not pass the pointer type info to the runtime, but the struct type info.

This PR needs dlang/druntime#941 to be merged at the same time.

yebblies added a commit that referenced this pull request Aug 31, 2014
Issue 13404 - heap-allocating a struct passes TypeInfo_Pointer to the GC, not TypeInfo_struct
@yebblies yebblies merged commit 048f0cc into dlang:master Aug 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants