summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-06-02 10:19:07 -0500
committerJesse Luehrs <doy@tozt.net>2011-06-02 10:43:48 -0500
commit22a154f7b38c78f6e86f3dc2335dd0b8c4d08634 (patch)
treece7bb531f95d1a315f664f17ebf400044b839bf1 /lib
parentf274aaa6f2ce5fdf10a853c47b0a36c8a614b81e (diff)
downloadbread-board-declare-22a154f7b38c78f6e86f3dc2335dd0b8c4d08634.tar.gz
bread-board-declare-22a154f7b38c78f6e86f3dc2335dd0b8c4d08634.zip
fix the type constraint for literal_value0.09
Diffstat (limited to 'lib')
-rw-r--r--lib/Bread/Board/Declare/Meta/Role/Attribute.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bread/Board/Declare/Meta/Role/Attribute.pm b/lib/Bread/Board/Declare/Meta/Role/Attribute.pm
index 895cbfa..aa988ff 100644
--- a/lib/Bread/Board/Declare/Meta/Role/Attribute.pm
+++ b/lib/Bread/Board/Declare/Meta/Role/Attribute.pm
@@ -51,7 +51,7 @@ the parameter that should be passed to C<has> is C<value>.
# has_value is already a method
has literal_value => (
is => 'ro',
- isa => 'Str|CodeRef',
+ isa => 'Value',
init_arg => 'value',
predicate => 'has_literal_value',
);