Identify direct children of yield expressions
commitdb130c83e15754206eee7a5315c341fc75f5a52a
authormwilliams <mwilliams@fb.com>
Wed, 17 Jul 2013 14:21:37 +0000 (17 07:21 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 19 Jul 2013 00:28:38 +0000 (18 17:28 -0700)
tree11969e60db284f9a81e9a45628d194b9a8a60711
parent0a111314bd0d6f6f7875bae3494cbb93377c8f84
Identify direct children of yield expressions

We want to be able to recognize them without knowing their
context.
hphp/compiler/analysis/alias_manager.cpp
hphp/compiler/construct.h
hphp/compiler/expression/expression.cpp
hphp/compiler/expression/yield_expression.cpp
hphp/test/slow/compilation/invalid_result.php [new file with mode: 0644]
hphp/test/slow/compilation/invalid_result.php.expect [new file with mode: 0644]