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

Throw an error for all reserved input names. #377

Merged
merged 3 commits into from Aug 22, 2016
Merged

Conversation

AaronLasseigne
Copy link
Owner

This closes #375.

@tfausak
Copy link
Collaborator

tfausak commented Aug 17, 2016

👍

Does this consider names that collide with private instance methods as reserved?

@tfausak tfausak added the bug label Aug 17, 2016
@tfausak tfausak removed their assignment Aug 18, 2016
@tfausak
Copy link
Collaborator

tfausak commented Aug 18, 2016

To answer my own question: No. This does not consider names that collide with private instance methods as reserved. It probably should, since overriding any of those (like process_inputs) breaks things.

@AaronLasseigne
Copy link
Owner Author

Good catch. I've added private methods to the list we check.

@tfausak
Copy link
Collaborator

tfausak commented Aug 19, 2016

:shipit:

@AaronLasseigne AaronLasseigne merged commit 45ac52a into master Aug 22, 2016
@AaronLasseigne AaronLasseigne deleted the reserved-inputs branch August 22, 2016 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't use :result as input
2 participants