From 875574eb690e2ee9f0ef22904de7c07b6a2d0955 Mon Sep 17 00:00:00 2001 From: servostar Date: Wed, 29 May 2024 21:24:17 +0200 Subject: [PATCH] fixed: added type to expressions --- src/set/types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/set/types.h b/src/set/types.h index 974542e..1bead83 100644 --- a/src/set/types.h +++ b/src/set/types.h @@ -404,6 +404,8 @@ typedef enum ExpressionKind_t { typedef struct Expression_t { ExpressionKind kind; + // type of resulting data + Type* result; union ExpressionImplementation_t { Operation operation; TypeCast typecast;