diff options
author | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-01 13:51:57 +0800 |
---|---|---|
committer | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-01 13:51:57 +0800 |
commit | d0461823a2359e0eb052dd10813bc6a3d66f7c74 (patch) | |
tree | 7173e4f9c0c2acc98db0d29d5bc10822a15d9237 /src/types.hpp | |
parent | 90d17906a39d521e36ff9e4f6089a1fb67a0aab7 (diff) | |
download | mrust-d0461823a2359e0eb052dd10813bc6a3d66f7c74.tar.gz |
Name resolve framework coming along
Diffstat (limited to 'src/types.hpp')
-rw-r--r-- | src/types.hpp | 7 |
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
|