diff options
author | John Hodge <tpg@mutabah.net> | 2015-04-05 13:18:46 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-04-05 13:18:46 +0800 |
commit | 89788c5801e03b0c5b0b288d0fefb717f75c67f0 (patch) | |
tree | 8d54133d206e6e8fb1e254cf73ea981e334bff47 /src/convert/resolve.cpp | |
parent | 7bee527fa774c397390618380bdab8bf4dec9cb0 (diff) | |
download | mrust-89788c5801e03b0c5b0b288d0fefb717f75c67f0.tar.gz |
(minor) TODO with thinkings about Self and bounds
Diffstat (limited to 'src/convert/resolve.cpp')
-rw-r--r-- | src/convert/resolve.cpp | 2 |
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?");
|