Skip to content

Possible error in Sequence tick #458

@michieletto

Description

@michieletto

Hi,
Thanks for the great library!
I've had a look at the code in the devel branch, and entered the Sequence class method tick.
At line 561, you yield node.
Then, the code checks if the node is the child itself and the node status is SUCCESS.
Then, after some operations, you yield again and return.

I might be wrong, but I think the yield at line 561 is somehow in the wrong place.
Maybe it should be moved after the checks?
It's otherwise hard to reach those checks with the current version, right?

If I'm wrong, please can someone better explain the idea behind the code?

Thanks.
Best.
Stefano

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