diff options
Diffstat (limited to 'src/hir/dump.cpp')
-rw-r--r-- | src/hir/dump.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/hir/dump.cpp b/src/hir/dump.cpp index 649116e0..75dde59f 100644 --- a/src/hir/dump.cpp +++ b/src/hir/dump.cpp @@ -262,13 +262,13 @@ namespace { void visit_constant(::HIR::ItemPath p, ::HIR::Constant& item) override { m_os << indent() << "const " << p.get_name() << ": " << item.m_type << " = " << item.m_value_res; - if( item.m_value ) - { - m_os << " /*= "; - item.m_value->visit(*this); - m_os << "*/"; - } - m_os << ";\n"; + if( item.m_value ) + { + m_os << " /*= "; + item.m_value->visit(*this); + m_os << "*/"; + } + m_os << ";\n"; } // - Misc @@ -530,7 +530,7 @@ namespace { m_os << ", "; } m_os << ")"; - m_os << "/* : " << node.m_res_type << " */"; + m_os << "/* : " << node.m_res_type << " */"; } void visit(::HIR::ExprNode_CallValue& node) override { |