summaryrefslogtreecommitdiff
path: root/src/types.hpp
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-01 13:51:57 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-01 13:51:57 +0800
commitd0461823a2359e0eb052dd10813bc6a3d66f7c74 (patch)
tree7173e4f9c0c2acc98db0d29d5bc10822a15d9237 /src/types.hpp
parent90d17906a39d521e36ff9e4f6089a1fb67a0aab7 (diff)
downloadmrust-d0461823a2359e0eb052dd10813bc6a3d66f7c74.tar.gz
Name resolve framework coming along
Diffstat (limited to 'src/types.hpp')
-rw-r--r--src/types.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/types.hpp b/src/types.hpp
index 237d9ea6..f6a58d2a 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -1,7 +1,7 @@
#ifndef TYPES_HPP_INCLUDED
#define TYPES_HPP_INCLUDED
-#include <vector>
+#include "common.hpp"
#include "coretypes.hpp"
#include "ast/path.hpp"
@@ -32,6 +32,11 @@ public:
struct TagPath {};
TypeRef(TagPath, AST::Path path) {}
+
+ friend ::std::ostream& operator<<(::std::ostream& os, const TypeRef& tr) {
+ os << "TypeRef(TODO)";
+ return os;
+ }
};
#endif // TYPES_HPP_INCLUDED