From bf2e745293194a9fc27a86496623ccc515b7aa52 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 27 Jul 2019 13:07:49 +0100 Subject: [PATCH] doc/concepts.tex: Fix description of merging keyword argument lists. It doesn't matter whether the applicable methods come from different superclasses: we have to merge everything. --- doc/concepts.tex | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/concepts.tex b/doc/concepts.tex index 405cad1..d9239d0 100644 --- a/doc/concepts.tex +++ b/doc/concepts.tex @@ -862,11 +862,10 @@ While method combinations may set their own rules, usually keyword methods can only be defined on keyword messages, and all methods defined on a keyword message must be keyword methods. The direct methods defined on a keyword message may differ in the keywords they accept, both from each other, and -from the message. If two superclasses of some common class both define -keyword methods on the same message, and the methods both accept a keyword -argument with the same name, then these two keyword arguments must also have -the same type. Different applicable methods may declare keyword arguments -with the same name but different defaults; see below. +from the message. If two applicable methods on the same message both accept +a keyword argument with the same name, then these two keyword arguments must +also have the same type. Different applicable methods may declare keyword +arguments with the same name but different defaults; see below. The keyword arguments acceptable in a message sent to an object are the keywords listed in the message definition, together with all of the keywords -- 2.11.0