Homec4science

Throw instead of E_NOTICE from AASTNode::getChildByIndex(0) with no children

Authored by vrana <jakubv@fb.com> on Jun 22 2012, 02:43.

Description

Throw instead of E_NOTICE from AASTNode::getChildByIndex(0) with no children

Summary: It should also improve performance if the child is not found.

Test Plan: Call it with 0 on node without children.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D2826

Details

Committed
vrana <jakubv@fb.com>Jun 22 2012, 03:06
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU8f79889d9134: Add PHP scrub for Pygmentize
Branches
Unknown
Tags
Unknown

Event Timeline