Catch calls to subtype that just provide a name (and no parent) and barf on them.
authorDave Rolsky <autarch@urth.org>
Wed, 25 Feb 2009 19:55:15 +0000 (19:55 +0000)
committerDave Rolsky <autarch@urth.org>
Wed, 25 Feb 2009 19:55:15 +0000 (19:55 +0000)
commitf75f625dfbf7c765bdfa127a59b49a4503344298
tree4e1555b8350262219d4aef861c9d34901ac169a1
parent99c341efb4388daf9b789ea7944149a58322aad5
Catch calls to subtype that just provide a name (and no parent) and barf on them.
lib/Moose/Util/TypeConstraints.pm
t/040_type_constraints/001_util_type_constraints.t