projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
stop using a package global for enums, just close over it
[gitmo/Moose.git]
/
t
/
type_constraints
/
util_std_type_constraints.t
diff --git
a/t/type_constraints/util_std_type_constraints.t
b/t/type_constraints/util_std_type_constraints.t
index
d98f16c
..
89c35ba
100644
(file)
--- a/
t/type_constraints/util_std_type_constraints.t
+++ b/
t/type_constraints/util_std_type_constraints.t
@@
-1014,6
+1014,7
@@
sub test_constraint {
if ( $type->has_inlined_type_constraint ) {
$inlined = eval_closure(
source => 'sub { ( ' . $type->_inline_check('$_[0]') . ' ) }',
+ environment => $type->inline_environment,
);
}