소스 검색

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: