@@ -25,9 +25,9 @@ of just one method called C<why>:
25
25
26
26
= head1 Methods
27
27
28
- = head2 method create_method
28
+ = head2 method create_type
29
29
30
- method create_method (Mu $how, $repr = 'P6opaque')
30
+ method create_type (Mu $how, $repr = 'P6opaque')
31
31
32
32
Creates and returns a new type from a meta object C < $how > and a representation
33
33
name.
@@ -43,7 +43,7 @@ Sets the package associated with the type.
43
43
method install_method_cache( Mu $type, %cache, :$authoritative = True)
44
44
45
45
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
47
47
do not exist in the cache willl throw an exception of type
48
48
L < X::Method::NotFound|/type/X::Method::NotFound > . If C < :authoritative > is set
49
49
to C < False > , the usual fallback mechanism are tried.
@@ -60,7 +60,7 @@ to C<False>, the usual fallback mechanism are tried.
60
60
Configures the type checking for C < $type > . C < @cache > is a list of known types
61
61
against which C < $type > checks positively (so in a classical class-based
62
62
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
64
64
C < @cache > . If C < :call_accepts > is True, the method L < ACCEPTS > will be called
65
65
for type checks against this type.
66
66
0 commit comments