Skip to content

Commit

Permalink
Fix build failure under GCC 10.2 (fixes #3628)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars authored and SeanTAllen committed Aug 29, 2020
1 parent 2905af8 commit 77bcfcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libponyc/expr/reference.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ static bool expr_contained_in_recover(ast_t* ast, ast_t* expected_recover)

case TK_REFERENCE:
pony_assert(0);
return false;

case TK_THIS:
return false;
Expand Down

0 comments on commit 77bcfcb

Please sign in to comment.