Skip to content

Commit

Permalink
Fix memory corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Nov 11, 2019
1 parent 935bad9 commit cd2f8e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static function analyze(
if (!isset($try_context->vars_in_scope[$var_id])) {
$try_context->vars_in_scope[$var_id] = clone $type;
$try_context->vars_in_scope[$var_id]->from_docblock = true;
$type->possibly_undefined_from_try = true;
$try_context->vars_in_scope[$var_id]->possibly_undefined_from_try = true;
} else {
$try_context->vars_in_scope[$var_id] = Type::combineUnionTypes(
$try_context->vars_in_scope[$var_id],
Expand Down

0 comments on commit cd2f8e7

Please sign in to comment.