summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/convert/resolve.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/convert/resolve.cpp b/src/convert/resolve.cpp
index 65887082..35187b5f 100644
--- a/src/convert/resolve.cpp
+++ b/src/convert/resolve.cpp
@@ -355,6 +355,8 @@ void CPathResolver::handle_params(AST::TypeParams& params)
for( auto& bound : params.bounds() )
{
handle_type(bound.test());
+
+ // TODO: Will there be a case where within the test there's a Self that isn't the bound?
local_type("Self", bound.test());
if( !bound.is_trait() )
DEBUG("namecheck lifetime bounds?");