diff options
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
|