# This file documents the revision history for Perl extension Catalyst.
+ - pass replace_constructor to the immutable call to ensure
+ applications get a Moose constructor rather than a C::A one
+
5.80002 2009-04-21 12:21:00
- Fix issues with restarting the application class due to C3 failures
on perl 5.10 (t0m)
package Catalyst;
use Moose;
-extends 'Catalyst::Component';
+extends 'Catalyst::Component', 'Class::Accessor::Fast';
use Moose::Util qw/find_meta/;
use bytes;
use Scope::Upper ();
# applying modifiers).
Scope::Upper::reap(sub {
my $meta = Class::MOP::get_metaclass_by_name($class);
- $meta->make_immutable unless $meta->is_immutable;
+ $meta->make_immutable(replace_constructor => 1) unless $meta->is_immutable;
}, Scope::Upper::SCOPE(1));
$class->setup_finalize;