Skip to content

Strange behaviour with multiple channels caused by illegal pattern-bindings #4718

Closed
@14427

Description

@14427

I would expect the following code: https://gist.github.com/4688550

to print (Left | Right): Some(0|1|2) in an infinite loop.

It only prints Some(0) and Some(2).

Removing the right channels causes Some(0), Some(1) and Some(2) to all be printed as expected.

Getting rid of the try_recv() on the right port doesn't get rid of the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions