Subject: | Role::*ton::New does not work unless there is at least one has() or no other roles |
around 'new' … Role::Tiny issue?
Run: perl -e 'use Foo;d(Foo->new(), Foo->new());'
when: Foo.pm is Moo and with "Role::Multiton::New"; == new() is the same (i.e. around 'new' worked)
when: change with() to: with "Role::Multiton::New", "Bar"; (Bar is Role::Tiny w/ simple has() == new() is NOT THE SAME, meep!! (i.e. around 'new' did not work!!)
when: add has xyz => (is->"rw"); to Foo.pm == new() is the same (i.e. around 'new' worked)