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

Remove requirements for pop_first, cause it already returns fault. #1578

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

MohMaGen
Copy link
Contributor

pop hasn't this requirements and works fine. But pop_first break in loops like this:

while (try current = queue.pop_first())
{
    // do smth.
}

So, I just remove this lines and everything works fine.

@lerno
Copy link
Collaborator

lerno commented Oct 27, 2024

Quite right!

@lerno lerno merged commit 0639659 into c3lang:master Oct 27, 2024
40 checks passed
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