Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Jan 18, 2025
1 parent 9532560 commit 4adfbef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libponyc/expr/operator.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ static bool add_as_type(pass_opt_t* opt, ast_t* ast, ast_t* expr,

ast_t* expr_type = ast_type(expr);
errorframe_t info = NULL;
matchtype_t is_match = is_matchtype2(expr_type, type, &info, opt);
matchtype_t is_match = is_astype(expr_type, type, &info, opt);
if(is_match == MATCHTYPE_DENY_CAP)
{
errorframe_t frame = NULL;
Expand Down

0 comments on commit 4adfbef

Please sign in to comment.