diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-29 23:02:21 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-29 23:02:21 +0800 |
commit | ad4b6b707dedcdc779435b16081ed0445f71ff05 (patch) | |
tree | 429096a6f984897d1488c62d93144a013c75a04d /src/ast/path.cpp | |
parent | e60aa50103d9b24819f3dc26c783c2237f873664 (diff) | |
download | mrust-ad4b6b707dedcdc779435b16081ed0445f71ff05.tar.gz |
Handling for 'T::method()' (where T is a type param)
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r-- | src/ast/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp index 686647a5..c06a63a4 100644 --- a/src/ast/path.cpp +++ b/src/ast/path.cpp @@ -386,7 +386,7 @@ void Path::print_pretty(::std::ostream& os) const ::std::ostream& operator<<(::std::ostream& os, const Path& path) { - if( path.m_nodes.size() == 0 ) + if( path.m_nodes.size() == 0 && path.m_class == Path::RELATIVE ) { os << "/* null path */"; return os; |