Skip to content

Commit

Permalink
Check for illegal use of distinct
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerBill committed May 12, 2024
1 parent 6bfaf4a commit 0f76c22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/check_expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10788,6 +10788,7 @@ gb_internal ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast
return Expr_Expr;
case_end;

case Ast_DistinctType:
case Ast_TypeidType:
case Ast_PolyType:
case Ast_ProcType:
Expand Down

0 comments on commit 0f76c22

Please sign in to comment.