diff options
author | John Hodge <tpg@mutabah.net> | 2015-09-06 18:08:38 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-09-06 18:08:38 +0800 |
commit | 03e211d6eeb3f8f3c6f0b22f77c2074e81443952 (patch) | |
tree | 5e07ee69f9020e829e79fb700fa2f35e602b0bcb /src/convert/ast_iterate.cpp | |
parent | 0b6d7c51056ed7b8eb25af6041c4feb5e6e23051 (diff) | |
download | mrust-03e211d6eeb3f8f3c6f0b22f77c2074e81443952.tar.gz |
Rough span support
Diffstat (limited to 'src/convert/ast_iterate.cpp')
-rw-r--r-- | src/convert/ast_iterate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/convert/ast_iterate.cpp b/src/convert/ast_iterate.cpp index a61dd553..cdb927e6 100644 --- a/src/convert/ast_iterate.cpp +++ b/src/convert/ast_iterate.cpp @@ -377,7 +377,7 @@ void CASTIterator::handle_impl(AST::Path modpath, AST::Impl& impl) for( auto& fcn : impl.functions() ) { DEBUG("- Function '" << fcn.name << "'"); - handle_function(AST::Path(AST::Path::TagRelative()) + fcn.name, fcn.data); + handle_function(AST::Path(AST::Path::TagRelative(), { AST::PathNode(fcn.name) }), fcn.data); } end_scope(); |