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

bugfix: verify the target resolver before using it #449

Merged
merged 1 commit into from
Feb 11, 2016

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Feb 11, 2016

Resolvers are both classes and modules. The request resolver.ancestors only works for modules, classes would require resolver.class.ancestors. Since DirsHelpers are never classes, we can safely limit this check to modules only.

@jcreedcmu
Copy link
Contributor

👍

jcreedcmu added a commit that referenced this pull request Feb 11, 2016
bugfix: verify the resolver type first
@jcreedcmu jcreedcmu merged commit 861965a into master Feb 11, 2016
@jcreedcmu jcreedcmu deleted the dr/check-resolver branch February 11, 2016 15:57
@arlimus arlimus added the Type: Bug Feature not working as expected label Feb 15, 2016
@arlimus arlimus changed the title bugfix: verify the resolver type first bugfix: verify the target resolver before using it Feb 15, 2016
@chris-rock chris-rock modified the milestone: 0.12.0 Feb 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants