diff options
| author | gingerBill <bill@gingerbill.org> | 2024-05-12 17:48:06 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-05-12 17:48:06 +0100 |
| commit | 0f76c22c463f678f8e681e754c8fe0acf718546c (patch) | |
| tree | ab213cad18127ebba2d84c45d567a60bc5082d0d /src | |
| parent | 6bfaf4a093fc566c38e97c5c7b80b9586ddf41e9 (diff) | |
Check for illegal use of `distinct`
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_expr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index f0c33d9d8..08f488642 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -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: |