Skip Menu |

This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id: 93034
Status: resolved
Priority: 0/
Queue: Moo

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.000000



Subject: behaviour in constructor when there are no attributes
07:24 < haarg> i've been unsure about handling objects with no attributes. as it is, they will get everything passed to ->new stored in the hashref. 07:25 < stevan> yeah, that is wrong beyond wrong 07:25 < haarg> so far nobody has complained though so i was satisfied to just leave it alone. Okay, this is a formal complaint then -- :) I think this is fucked up and should be fixed.
On Fri Feb 14 11:21:30 2014, ETHER wrote: Show quoted text
> 07:24 < haarg> i've been unsure about handling objects with no > attributes. as it is, they will get everything passed to ->new stored > in the hashref. > 07:25 < stevan> yeah, that is wrong beyond wrong > 07:25 < haarg> so far nobody has complained though so i was satisfied > to just leave it alone. > > Okay, this is a formal complaint then -- :) I think this is fucked up > and should be fixed.
I have an implementation of this ready in the no-attr-no-store branch, but it has enough potential to break user code that it's going to wait until 2.0.
Fixed in 1.999_001.
Resolved in Moo 2.