Skip to content

Commit

Permalink
Document changes to make_immutable in v2, closes #129
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyink committed Feb 18, 2023
1 parent 00d0d3a commit 3f9c40a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Type/Library.pm
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,11 @@ Prevents new type constraints and coercions from being added to the
library, and also calls C<< $type->coercion->freeze >> on every
type constraint in the library.
(Prior to Type::Library v2, C<make_immutable> would call
C<< $type->coercion->freeze >> on every constraint in the library,
but not prevent new type constraints and coercions from being added
to the library.)
=back
=head2 Type library exported functions
Expand Down

0 comments on commit 3f9c40a

Please sign in to comment.