summaryrefslogtreecommitdiff
path: root/src/ast/ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/ast.cpp')
-rw-r--r--src/ast/ast.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp
index 37cb17b6..42052c5e 100644
--- a/src/ast/ast.cpp
+++ b/src/ast/ast.cpp
@@ -674,14 +674,15 @@ SERIALISE_TYPE(TypeParam::, "AST_TypeParam", {
::std::ostream& operator<<(::std::ostream& os, const GenericBound& x)
{
os << x.m_type << ": ";
- if( x.m_lifetime != "" )
- return os << "'" << x.m_lifetime;
+ if( x.m_lifetime_bound != "" )
+ return os << "'" << x.m_lifetime_bound;
else
return os << x.m_trait;
}
SERIALISE_TYPE_S(GenericBound, {
+ s.item(m_lifetime_test);
s.item(m_type);
- s.item(m_lifetime);
+ s.item(m_lifetime_bound);
s.item(m_trait);
})