]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/commitdiff
Fix the autocoercing code with recent versions of Moose
authorVincent Pit <vince@profvince.com>
Tue, 6 Aug 2013 18:34:25 +0000 (15:34 -0300)
committerVincent Pit <vince@profvince.com>
Tue, 6 Aug 2013 18:34:25 +0000 (15:34 -0300)
With Moose, it is no longer possible to have a coercing attribute in an
immutable class be updated with coercions loaded "late". These
semantics are actually quite understandable, but on the other hand there's
no easy way to recover which attributes coerce to a given type coercion,
which would allow us to manually force the recompilation of the coercing
code for the attributes. Thus we have to make the classes that contain
such an attribute mutable when Moose is in use.


No differences found