Преглед на файлове

Check for illegal use of `distinct`

gingerBill преди 1 година
родител
ревизия
0f76c22c46
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/check_expr.cpp

+ 1 - 0
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: