summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/types.h b/types.h
index d5a2b69..d8e780d 100644
--- a/types.h
+++ b/types.h
@@ -445,7 +445,6 @@ enum {
};
typedef U8 TypeFlags;
typedef struct Type {
- Location where;
struct Expression *was_expr; /* if non-NULL, indicates that this type used to be an expression (TYPE_EXPR) */
TypeKind kind;
TypeFlags flags;
@@ -827,7 +826,7 @@ typedef struct Expression {
SliceExpr slice;
Block *block;
struct Expression *tuple; /* dynamic array, even after typing */
- Type typeval;
+ Type *typeval;
Value val;
};
} Expression;