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

Unexpected behaviour of machina.Fsm.extend with multiple 'childs' #12

Merged
merged 1 commit into from
Feb 8, 2013
Merged

Conversation

fwg
Copy link
Contributor

@fwg fwg commented Feb 4, 2013

When you create a constructor with machina.Fsm.extend and then extend it with overwritten handlers it will change the base constructor's handler as well.
This seems counter-intuitive and IMO is a bug.

See added test in spec file.

@ifandelse
Copy link
Owner

Thanks for catching this @fwg! I've pulled your PR branch locally, and have one minor tweak I'm going to add and then merge/push/publish tonight. Sorry for the delay in getting this squared away...

@ifandelse ifandelse merged commit 3acda81 into ifandelse:master Feb 8, 2013
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