com php-src: remove todo: Zend/zend_inheritance.c

From: Date: Tue, 08 Mar 2016 17:04:36 +0000
Subject: com php-src: remove todo: Zend/zend_inheritance.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95602@lists.php.net to get a copy of this message
Commit: a98b4b38b010fbf7fcdf008ed8485bbd73276324 Author: Joe Watkins <krakjoe@php.net> Tue, 8 Mar 2016 17:04:36 +0000 Parents: 6e961f0b4851d585f520848b55ba79a5055623c2 Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a98b4b38b010fbf7fcdf008ed8485bbd73276324 Log: remove todo Changed paths: M Zend/zend_inheritance.c Diff: diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c index 5750e0a..fcf5861 100644 --- a/Zend/zend_inheritance.c +++ b/Zend/zend_inheritance.c @@ -648,9 +648,8 @@ static void do_inherit_property(zend_property_info *parent_info, zend_string *ke if (UNEXPECTED(child)) { child_info = Z_PTR_P(child); - if (UNEXPECTED(parent_info->type && !(parent_info->flags & ZEND_ACC_PRIVATE))) { - /* TODO(krakjoe) comparing strings feels wrong */ + if (UNEXPECTED(parent_info->type && !(parent_info->flags & ZEND_ACC_PRIVATE))) { if (parent_info->type == IS_OBJECT) { if (child_info->type != IS_OBJECT || !zend_string_equals_ci(zend_resolve_property_type(parent_info->type_name, parent_info->ce),

« previous php.cvs (#95602) next »