Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 98402
Status: resolved
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: olaf [...] wundersolutions.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 2.1900-TRIAL



Subject: Support inlining for delegations
After a conversation with DROLSKY I wanted to open a wishlist item for supporting the inlining of delegations in Moose in order to make it easier to support extending delegations.
On Thu Aug 28 16:43:48 2014, OALDERS wrote: Show quoted text
> After a conversation with DROLSKY I wanted to open a wishlist item for > supporting the inlining of delegations in Moose in order to make it > easier to support extending delegations.
To add some detail ... Right now errors from a failed delegation seem to come from inside the Moose core whereas if they were inlined they'd show up from the perspective of the package that does the delegation.
I started working on this in a branch named topic/inline-delegations However, I haven't quite gotten it working and I'm not sure we want to do this. To replicate the existing behavior perfectly we'd have to call the attribute accessor in the inlined code rather than accessing the slot directly. This ensures that method modifiers are fired for delegation.
On 2016-09-11 13:45:12, DROLSKY wrote: Show quoted text