Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51232 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80353 invoked from network); 6 Jan 2011 13:43:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2011 13:43:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@stefan-marr.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@stefan-marr.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain stefan-marr.de from 81.20.134.149 cause and error) X-PHP-List-Original-Sender: php@stefan-marr.de X-Host-Fingerprint: 81.20.134.149 vps-1012701-4512.united-hoster.de Received: from [81.20.134.149] ([81.20.134.149:35911] helo=vps-1012701-4512.united-hoster.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/A0-10160-7F6C52D4 for ; Thu, 06 Jan 2011 08:43:19 -0500 Received: from [134.184.43.20] by vps-1012701-4512.united-hoster.de with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Paq7Y-00013M-6s; Thu, 06 Jan 2011 14:43:16 +0100 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii In-Reply-To: <201012202024.10153.larry@garfieldtech.com> Date: Thu, 6 Jan 2011 14:43:15 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <38F312F3-3E68-417A-B399-056E366E2DAC@stefan-marr.de> References: <89C52156-CF92-4DDB-8BA4-4ABF6883512C@stefan-marr.de> <4D0F7E99.8050705@garfieldtech.com> <764A364B-173B-401B-83FA-A61D45BE99CB@stefan-marr.de> <201012202024.10153.larry@garfieldtech.com> To: Larry Garfield X-Mailer: Apple Mail (2.1082) Subject: Re: [PHP-DEV] Traits and Properties From: php@stefan-marr.de (Stefan Marr) Hi Larry: On 21 Dec 2010, at 03:24, Larry Garfield wrote: > I don't believe the RFC mentions how those resolve in case of = collision,=20 > though. If two traits define the same abstract method, does that = cause a=20 > collision that needs manual resolution or can the using class just = define it=20 > once and thereby support both traits? Abstract methods do not cause collisions, no. So, there can be an = arbitrary number of traits asking for an abstract method with identical = name, and the only thing that has to happen is that it is implemented = eventually, perhaps by another trait. Best regards Stefan --=20 Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525