Re: Parameter type widening RFC
| From: | lists@rhsoft.net | Date: | Fri, 26 May 2017 12:23:30 +0000 |
| Subject: | Re: Parameter type widening RFC | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99202@lists.php.net to get a copy of this message | ||
Am 26.05.2017 um 14:16 schrieb Christoph M. Becker:
On 26.05.2017 at 12:16, Niklas Keller wrote:does that also fix the issue https://bugs.php.net/bug.php?id=743942017-05-26 10:35 GMT+02:00 Andrey Andreev <narf@devilix.net>:Indeed, it is not about LSP, so I suggest to fix the note in UPGRADING[1]On Thu, May 25, 2017 at 11:02 PM, Dan Ackroyd <danack@basereality.com> wrote:Sorry for the delay and confusion. As Nikita already mentioned, it's a consequence of LSP, not directly what LSP is about.The RFC specifically didn't mention LSP....because that is separate from co/contravariance. It's unfortunate for other people to be throwing the two around at you with a lack of precision.Perhaps this was the issue ... I was under the impression that LSP was used as (part of) the motivation for the RFC. The rest is pretty clear, though thanks for the lengthy explanation. :)