diff options
author | John Hodge <tpg@mutabah.net> | 2015-06-04 14:41:34 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-06-04 14:41:34 +0800 |
commit | f15fcf3c440e3c9c40fa606b0904fb85a8510464 (patch) | |
tree | a477b63bf9d9141b170292aedb6df9cf8eeb2580 /src/ast/ast.cpp | |
parent | 029bf073a1ec77a06d6c64ab7166c74f13486926 (diff) | |
download | mrust-f15fcf3c440e3c9c40fa606b0904fb85a8510464.tar.gz |
Rework path handling and resolve to better handle Self
Diffstat (limited to 'src/ast/ast.cpp')
-rw-r--r-- | src/ast/ast.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp index 8515f76e..d712edd3 100644 --- a/src/ast/ast.cpp +++ b/src/ast/ast.cpp @@ -577,7 +577,7 @@ Module::ItemRef Module::find_item(const ::std::string& needle, bool allow_leaves if( allow_leaves )
return ItemRef(it->data);
else
- DEBUG("Skipping static, leaves not allowed");
+ DEBUG("Skipping function, leaves not allowed");
}
}
@@ -634,7 +634,7 @@ Module::ItemRef Module::find_item(const ::std::string& needle, bool allow_leaves }
else if( imp.name == needle )
{
- DEBUG("Match " << needle);
+ DEBUG("Match " << needle << " = " << imp.data);
return ItemRef(imp);
}
else if( imp.name == "" )
|