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

Fix Context.Stack() #303

Merged
merged 1 commit into from
Mar 23, 2021
Merged

Fix Context.Stack() #303

merged 1 commit into from
Mar 23, 2021

Conversation

bvisness
Copy link
Contributor

@bvisness bvisness commented Mar 21, 2021

As described in #129, the Stack() method on Context simply does not work right now, because the hook added by Stack() runs after Err() is called. Although @rs expressed some concerns about having a Stack() method on Context in the first place, the fact of the matter is that this method does exist and doesn't work, so this is a bug that should be fixed.

This PR is basically the same as #130 and #179 but with conflicts fixed.

Closes #129, closes #130, closes #179.

@rs rs merged commit f2cc3cf into rs:master Mar 23, 2021
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.

Context.Stack() not working
2 participants