summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/types.h b/types.h
index a829d19..0015b89 100644
--- a/types.h
+++ b/types.h
@@ -408,12 +408,12 @@ typedef enum {
typedef enum {
BUILTIN_I8,
- BUILTIN_I16,
- BUILTIN_I32,
- BUILTIN_I64,
BUILTIN_U8,
+ BUILTIN_I16,
BUILTIN_U16,
+ BUILTIN_I32,
BUILTIN_U32,
+ BUILTIN_I64,
BUILTIN_U64,
BUILTIN_F32,
BUILTIN_F64,
@@ -454,6 +454,7 @@ typedef struct Type {
TypeKind kind;
TypeFlags flags;
union {
+ // NOTE: if you modify this, please make sure type information still works (see BINARY_DOT under types_expr)
BuiltinType builtin;
FnType *fn;
struct Type *tuple;