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

Issue #346, fix collisions when option and first arg have same name #347

Merged
merged 2 commits into from
Feb 26, 2015

Conversation

tonylukasavage
Copy link
Contributor

This is detailed in full in #346.

This PR has a test case demonstrates the error in the current master, and a less-than-elegant, but non-invasive way to avoid the error of conflicting action and option listeners without negatively impacting either. I am open to better solutions, but other than establishing a separate emitter for both options and actions, I don't know a better way than a naming convention (action_ prefix) to keep them from colliding, in my brief inspection anyway.

@tonylukasavage
Copy link
Contributor Author

bump.

SomeKittens added a commit that referenced this pull request Feb 26, 2015
Issue #346, fix collisions when option and first arg have same name
@SomeKittens SomeKittens merged commit f2e000b into tj:master Feb 26, 2015
@SomeKittens
Copy link
Collaborator

Works for me.

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