[Moose-commits] r7736 - Class-MOP/trunk/lib/Class/MOP
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Thu Feb 19 21:33:56 GMT 2009
Author: autarch
Date: 2009-02-19 13:33:56 -0800 (Thu, 19 Feb 2009)
New Revision: 7736
Modified:
Class-MOP/trunk/lib/Class/MOP/Class.pm
Log:
Actually test that this works and fix some unchanged var names
Modified: Class-MOP/trunk/lib/Class/MOP/Class.pm
===================================================================
--- Class-MOP/trunk/lib/Class/MOP/Class.pm 2009-02-19 21:33:15 UTC (rev 7735)
+++ Class-MOP/trunk/lib/Class/MOP/Class.pm 2009-02-19 21:33:56 UTC (rev 7736)
@@ -172,14 +172,14 @@
($self->isa($super_meta_type))
|| confess $self->name . "->meta => (" . (ref($self)) . ")" .
" is not compatible with the " .
- $class_name . "->meta => (" . ($super_meta_type) . ")";
+ $superclass_name . "->meta => (" . ($super_meta_type) . ")";
# NOTE:
# we also need to check that instance metaclasses
# are compatibile in the same the class.
($self->instance_metaclass->isa($super_meta->instance_metaclass))
|| confess $self->name . "->meta->instance_metaclass => (" . ($self->instance_metaclass) . ")" .
" is not compatible with the " .
- $class_name . "->meta->instance_metaclass => (" . ($super_meta->instance_metaclass) . ")";
+ $superclass_name . "->meta->instance_metaclass => (" . ($super_meta->instance_metaclass) . ")";
}
}
More information about the Moose-commits
mailing list