diff options
Diffstat (limited to 'src/mir/helpers.hpp')
-rw-r--r-- | src/mir/helpers.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mir/helpers.hpp b/src/mir/helpers.hpp index cc0766ec..ab558791 100644 --- a/src/mir/helpers.hpp +++ b/src/mir/helpers.hpp @@ -95,6 +95,11 @@ public: const ::HIR::TypeRef& get_lvalue_type(::HIR::TypeRef& tmp, const ::MIR::LValue& val) const; const ::HIR::TypeRef* is_type_owned_box(const ::HIR::TypeRef& ty) const; + + friend ::std::ostream& operator<<(::std::ostream& os, const TypeResolve& x) { + x.fmt_pos(os); + return os; + } }; } // namespace MIR |