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

Joined with first second and enum crashes out of index #543

Closed
jaanpeeter opened this issue Aug 16, 2023 · 1 comment · May be fixed by #544
Closed

Joined with first second and enum crashes out of index #543

jaanpeeter opened this issue Aug 16, 2023 · 1 comment · May be fixed by #544
Assignees

Comments

@jaanpeeter
Copy link
Contributor

Expected Behavior

We can use the ctor public Joined(T first, T second, IEnumerable lst, params T[] items)

Actual Behavior

It chrashes with index out of bounds

Mention any other details that might be useful

[Fact]
public void JoinsFirstSecondAndEnum()
{
Assert.True(
new LengthOf(
new Joined(
"first",
"second",
new ManyOf("third", "fourth")
)
).Value() == 4,
"cannot join first second and enum together");
}

Steps to reproduce the behavior

The log given by the failure.

@Meerownymous
Copy link
Collaborator

Solved with PR #555

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 a pull request may close this issue.

3 participants