test for trait inflation from moo roles
[gitmo/Moo.git] / xt / lib / withautoclean / R1.pm
CommitLineData
44a44498 1package withautoclean::R1;
2use Moo::Role;
3
4# Doing this (or loading a class which is built with Moose)
5# and then loading autoclean - everything breaks...
6use Moose ();
7use namespace::autoclean;
8# Wouldn't happen normally, but is likely to as you part-port something.
9
10has _ctx => (
11 is => 'ro',
12 default => sub {
13 },
14 clearer => '_clear_ctx',
15);
16
171;
18