install_method_cache
ErrorsCollection

install_method_cache

Synthesised documentation from type/Metamodel/Primitives

From type/Metamodel/Primitives

See Original text in context

method install_method_cacheMu $type%cache:$authoritative = True)

Installs a method cache, that is, a mapping from method names to code objects. If :authoritative is missing, or set to True, then calls of methods that do not exist in the cache will throw an exception of type X::Method::NotFound. If :authoritative is set to False, the usual fallback mechanism are tried.