diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ast/path.cpp | 2 | ||||
-rw-r--r-- | src/ast/types.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp index 0c8c4c69..092f5962 100644 --- a/src/ast/path.cpp +++ b/src/ast/path.cpp @@ -109,7 +109,7 @@ PathBinding_Macro PathBinding_Macro::clone() const for(const auto& v : x.m_lifetimes) { if(needs_comma) os << ", "; needs_comma = true; - os << "'" << v; + os << v; } for(const auto& v : x.m_types) { if(needs_comma) os << ", "; diff --git a/src/ast/types.cpp b/src/ast/types.cpp index 98bc6ee1..f9103b37 100644 --- a/src/ast/types.cpp +++ b/src/ast/types.cpp @@ -323,7 +323,7 @@ namespace AST { os << "'_"; } else { - os << "'" << x.m_name; + os << "'" << x.m_name.name; if( x.m_binding != LifetimeRef::BINDING_UNBOUND ) { os << "/*" << x.m_binding << "*/"; } |