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

Improve the description of inlined delegation subs #136

Merged
merged 1 commit into from Oct 23, 2016

Conversation

autarch
Copy link
Member

@autarch autarch commented Oct 20, 2016

The description is used in stack traces so we now get something like this:

Thrower::throw(Thrower=HASH(0x34245f8)) called at inline delegation in
DelegatesToThrower for thrower->throw (attribute declared in
t/attributes/attribute_delegation.t at line 501) line 18

This should make it much easier to figure out what happened when a delegated
method fails.

The description is used in stack traces so we now get something like this:

    Thrower::throw(Thrower=HASH(0x34245f8)) called at inline delegation in
    DelegatesToThrower for thrower->throw (attribute declared in
    t/attributes/attribute_delegation.t at line 501) line 18

This should make it much easier to figure out what happened when a delegated
method fails.
@karenetheridge karenetheridge merged commit c44f878 into master Oct 23, 2016
@karenetheridge
Copy link
Member

thanks, merged!

@karenetheridge karenetheridge deleted the topic/better-delegation-sub-name branch October 23, 2016 02:12
@karenetheridge
Copy link
Member

released in 2.1902-TRIAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants