X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLaTeX-TikZ.git;a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FMeta%2FTypeConstraint%2FAutocoerce.pm;h=36efdf19e6e54e91ecb7f90e47e3f268927d1082;hp=cdbc69c083c71a60cd759e7019a45bba4e137e45;hb=c6ce52b9f723406dc94140753f89dab14d846778;hpb=4822c0bbb4054d2e5068c0e9592c3965ee9d87f3 diff --git a/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm b/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm index cdbc69c..36efdf1 100644 --- a/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm +++ b/lib/LaTeX/TikZ/Meta/TypeConstraint/Autocoerce.pm @@ -34,8 +34,9 @@ It is called with the type constraint object as first argument, followed by the =cut has 'mapper' => ( - is => 'ro', - isa => 'CodeRef', + is => 'ro', + isa => 'CodeRef', + required => 1, ); =head2 C