diff options
author | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-12 20:56:44 +0800 |
---|---|---|
committer | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-12 20:56:44 +0800 |
commit | ed264377ef0e4ed3a5b96b39f3282b3c10d65455 (patch) | |
tree | c1ec1312c0a00a0521d93aac291b5210eff794b7 /src/types.cpp | |
parent | 4af0826c332c52af0796a2fe30074bbd6aba664b (diff) | |
download | mrust-ed264377ef0e4ed3a5b96b39f3282b3c10d65455.tar.gz |
TypeRef fleshed out
Diffstat (limited to 'src/types.cpp')
-rw-r--r-- | src/types.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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 +}) |