From ed264377ef0e4ed3a5b96b39f3282b3c10d65455 Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Mon, 12 Jan 2015 20:56:44 +0800 Subject: TypeRef fleshed out --- src/types.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index a5edb5b8..c0a69f8d 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -3,6 +3,11 @@ #include "types.hpp" #include "ast/ast.hpp" -TypeRef::TypeRef(TypeRef::TagSizedArray, TypeRef inner, AST::Expr&& size_expr) -{ +::std::ostream& operator<<(::std::ostream& os, const TypeRef& tr) { + os << "TypeRef(TODO)"; + return os; } + +SERIALISE_TYPE(TypeRef::, "TypeRef", { + // TODO: TypeRef serialise +}) -- cgit v1.2.3