Skip to content

Commit ada47f7

Browse files
committed
Fix an obvious pasto s/create_method/create_type/ Also gloss up verbiage in a couple places.
I'm assuming the example was correct, as opposed to the pod declarator, because it makes more sense that create_type would create a type.
1 parent 77cac07 commit ada47f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Type/Metamodel/Primitives.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ of just one method called C<why>:
2525
2626
=head1 Methods
2727
28-
=head2 method create_method
28+
=head2 method create_type
2929
30-
method create_method(Mu $how, $repr = 'P6opaque')
30+
method create_type(Mu $how, $repr = 'P6opaque')
3131
3232
Creates and returns a new type from a meta object C<$how> and a representation
3333
name.
@@ -43,7 +43,7 @@ Sets the package associated with the type.
4343
method install_method_cache( Mu $type, %cache, :$authoritative = True)
4444
4545
Installs a method cache, that is, a mapping from method names to code objects.
46-
If C<:authoritative> is missing, or set to C<True>, and calls of methods that
46+
If C<:authoritative> is missing, or set to C<True>, then calls of methods that
4747
do not exist in the cache willl throw an exception of type
4848
L<X::Method::NotFound|/type/X::Method::NotFound>. If C<:authoritative> is set
4949
to C<False>, the usual fallback mechanism are tried.
@@ -60,7 +60,7 @@ to C<False>, the usual fallback mechanism are tried.
6060
Configures the type checking for C<$type>. C<@cache> is a list of known types
6161
against which C<$type> checks positively (so in a classical class-based
6262
system, the type itself and all recursive superclasses). If C<:authoritative>
63-
is missing or C<True>, this type will fail to check against all types not in
63+
is missing or C<True>, this type will fail checks against all types not in
6464
C<@cache>. If C<:call_accepts> is True, the method L<ACCEPTS> will be called
6565
for type checks against this type.
6666

0 commit comments

Comments
 (0)