diff options
author | John Hodge <tpg@mutabah.net> | 2015-08-25 17:47:34 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-08-25 17:47:34 +0800 |
commit | aaa9780a3b5a1c78b6f5e0eb1c46405ee044b750 (patch) | |
tree | 60a2dd51b06e66cbc584e6e8a7f56ace52d08a59 /src/types.hpp | |
parent | b372cfc36b5be1f73d3d79c399530cffd4ce444a (diff) | |
download | mrust-aaa9780a3b5a1c78b6f5e0eb1c46405ee044b750.tar.gz |
Rename tagged_enum to tagged_union
Diffstat (limited to 'src/types.hpp')
-rw-r--r-- | src/types.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/types.hpp b/src/types.hpp index 9259fce8..17d01bb3 100644 --- a/src/types.hpp +++ b/src/types.hpp @@ -7,6 +7,7 @@ #include "coretypes.hpp"
#include "ast/path.hpp"
#include <serialise.hpp>
+#include <tagged_union.hpp>
namespace AST {
class ExprNode;
@@ -55,7 +56,7 @@ struct Type_Function: SERIALISABLE_PROTOTYPES();
};
-TAGGED_ENUM(TypeData, None,
+TAGGED_UNION(TypeData, None,
(None, ()),
(Any, ()),
(Unit, ()),
|