Skip to content

multi-writer: test with a non-comptime stream #15770

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

Merged
merged 1 commit into from
May 19, 2023

Conversation

motiejus
Copy link
Contributor

@motiejus motiejus commented May 19, 2023

Since #14819 this test failed with:

$ ../../../build/stage3/bin/zig test multi_writer.zig
multi_writer.zig:26:57: error: unable to evaluate comptime expression
            var batch = std.event.Batch(Error!void, self.streams.len, .auto_async).init();
                                                    ~~~~^~~~~~~~
referenced by:
    Writer: multi_writer.zig:19:52
    writer: multi_writer.zig:21:36
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

Thanks @jacobly0 for hints how to fix this on IRC.

Since ziglang#14819 this test failed with:

    $ ../../../build/stage3/bin/zig test multi_writer.zig
    multi_writer.zig:26:57: error: unable to evaluate comptime expression
                var batch = std.event.Batch(Error!void, self.streams.len, .auto_async).init();
                                                        ~~~~^~~~~~~~
    referenced by:
        Writer: multi_writer.zig:19:52
        writer: multi_writer.zig:21:36
        remaining reference traces hidden; use '-freference-trace' to see all reference traces

Thanks @jacobly for hints how to fix this on IRC.
@andrewrk andrewrk merged commit b61d0de into ziglang:master May 19, 2023
@motiejus motiejus deleted the multi-writer branch May 19, 2023 16:22
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.

2 participants