summaryrefslogtreecommitdiff
path: root/src/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.hpp')
-rw-r--r--src/types.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/types.hpp b/src/types.hpp
index 4a596522..2e6a1fa1 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -4,12 +4,14 @@
#include "common.hpp"
#include "coretypes.hpp"
#include "ast/path.hpp"
+#include <serialise.hpp>
namespace AST {
class Expr;
}
-class TypeRef
+class TypeRef:
+ public Serialisable
{
public:
TypeRef() {}
@@ -40,6 +42,10 @@ public:
os << "TypeRef(TODO)";
return os;
}
+
+ SERIALISE_TYPE(, "TypeRef", {
+ // TODO: Typeref serialise
+ })
};
#endif // TYPES_HPP_INCLUDED