Make sure that inlining union preserves the inline env
authorDave Rolsky <autarch@urth.org>
Thu, 21 Apr 2011 20:51:36 +0000 (15:51 -0500)
committerJesse Luehrs <doy@tozt.net>
Tue, 17 May 2011 23:53:37 +0000 (18:53 -0500)
commitca7899039443df28ae0d58a29632c5ae5a51601a
tree7e001ac3de74f789cec64fce5906f43413395ea1
parente750d47f97f7c7bc0c805d582455e994b64fe724
Make sure that inlining union preserves the inline env

Make sure that an enum's inline env works when unioned with another enum (each env has a unique var)
lib/Moose/Meta/TypeConstraint.pm
lib/Moose/Meta/TypeConstraint/Enum.pm
lib/Moose/Meta/TypeConstraint/Union.pm
t/type_constraints/util_std_type_constraints.t