Skip to content

Conversation

@jacobly0
Copy link
Member

@jacobly0 jacobly0 commented Mar 4, 2023

I would love to add a test for this, but since this is a memory bug they are super flaky and don't reliably reproduce the issue.

Closes #14715
Closes #14783

@ghost
Copy link

ghost commented Mar 4, 2023

I would love to add a test for this, but since this is a memory bug they are super flaky and don't reliably reproduce the issue.

But shouldn't it still be possible to simply add the test from #14783 somewhere as-is which checks for success using expectEqualStrings? I think that test is something that should consistently succeed with this PR. We basically just want to make sure it doesn't segfault, right? Would be better than nothing I suppose.

auto-merge was automatically disabled March 5, 2023 09:25

Head branch was pushed to by a user without write access

@andrewrk andrewrk enabled auto-merge March 5, 2023 19:40
@andrewrk andrewrk merged commit 2641feb into ziglang:master Mar 5, 2023
@jacobly0 jacobly0 deleted the ditype branch March 5, 2023 21:35
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

Successfully merging this pull request may close these issues.

miscompilation when writing through pointer to optional slice arg Compiler crash with incompatible type when doing reflection

2 participants